Saturday, August 27, 2011

WAP in 8051 to perform the following


; WAP to perform the following
; 1. keep monitoring P1.2 until it becomes high
; 2. when P1.2 becomes high write value 45h on P0
; 3. Sent a high to low pulse to P2.3


HERE : JNB P1.2, HERE ;
MOV P0, #45H ;
SETB P2.3 ;
CLRB P2.3 ;
SJMP HERE ;
END

1 comment:




  1. Your style is unique compared to other people I have read stuff from.Thank you for posting when you have the opportunity, Guess I will just bookmark this page.

    8051 microcontroller training in chandigarh

    ReplyDelete