find how many the time will loop be executed? what is the total delay of this subroutine with 8051 processor at 11.0592MHZ? (Machine cycle, Mov = 1 , DJNZ = 2 , RET = 2)
Delay: MOV R5,#100
Back: MOV R2, #200
Again: MOV R3, #250
Here: DJNZ R#,Here
DJNZ R2, Again
DJNZ R5, back
RET
---------------------------------------------
THANKS
Delay: MOV R5,#100
Back: MOV R2, #200
Again: MOV R3, #250
Here: DJNZ R#,Here
DJNZ R2, Again
DJNZ R5, back
RET
---------------------------------------------
THANKS