Delay1s:
Mov tmod,#10; timer 1 che do 1
mov r3,#200
again:
Mov th1,#0ech
mov tl1,#78
setb tr1
back:
Jnb tf1,back
clr tr1
clr tf1
djnz r3,again
ret
end
Mov tmod,#10; timer 1 che do 1
mov r3,#200
again:
Mov th1,#0ech
mov tl1,#78
setb tr1
back:
Jnb tf1,back
clr tr1
clr tf1
djnz r3,again
ret
end
Comment