Hi
I need help here I found this problem on the internet
Can somebody please explain to me this program ( line by line if possible)
Find the delay generated by timer 0 in the following code.
I didnt understand the code and the result (FFFF-B83E+1)*1.085 = 47C2 (hex) *1.085 = 18370 (decimal) *1.085 = 19.93145ms where did the. Where did the number ffff come from
thank you
I need help here I found this problem on the internet
Can somebody please explain to me this program ( line by line if possible)
Find the delay generated by timer 0 in the following code.
Code:
CLR P2.3
MOV TMOD, #01H
HERE: MOV TL0, #3EH
MOV TH0, #0B8H
SETB P2.3
SETB TR0
AGAIN: JNB TF0, AGAIN
CLR TR0
CLR TF0
CLR P2.3
thank you