0
2.7kviews
Write a program for square wave is being generated of P1.2 this square wave is to be sent to a receiver connected in serial from to this 8051.
1 Answer
written 7.9 years ago by |
Label | Instruction | Comment |
---|---|---|
HERE: | MOV TL0, 30F2H, MOV TH0, #0FFH, CPL P1.2, ACALL DELAY, SJMP HERE | - |
DELAY: | SETB TR0 | - |
AGAIN: | JNB TF0,AGAIN, CLR TR0, CLR TF0, RET | - |