a) Find the number of time the following loop is repeated
MOVE R6, #2000
BACK: MOVE R5, #1000
HERE: DJNZ R5, HERE
DJNZ R6, BACK
B) Without knowing where the code of this problem is located inmemory, find the machine code for the statements DJNZ R5,HERE andDJNZ R6,BACK.
please explain.
thanks,
Expert Answer
An answer will be send to you shortly. . . . .