garg29
Advanced Member level 1
how to calculate delay in 8051
dear friends
how to calculate delay in this routine?
mov r1, #92h
mov r2,#03h
acall delay
------
------
-----
delay:
djnz r1,delay
djnz r2,delay
ret
by taking these values of r1 and r2 how much is the delay value....can anyone explain me how to calculate it?
with best regards
amit
dear friends
how to calculate delay in this routine?
mov r1, #92h
mov r2,#03h
acall delay
------
------
-----
delay:
djnz r1,delay
djnz r2,delay
ret
by taking these values of r1 and r2 how much is the delay value....can anyone explain me how to calculate it?
with best regards
amit