Question: Q 4 . Answer the following questions: a . Compute the time delay produced by the following subroutine. WAIT: MOV R 0 , # 1

Q4.Answer the following questions:
a. Compute the time delay produced by the following subroutine.
WAIT: MOV R0, #100
REPEAT: DJNZ RO, REPEAT
RET
-b. What line number will be executed after line number 0021?
Page 2 of
0000||
001E | START:
0020|
0021||
0024||
0025|
0027|
0029|
ORG 0
SJMP START
ORG 30
MOV A,3
MOV R0, A
CJNE A, #02, STAY
NOP
INC B
ADD A,#0F1H
SJMP STAY
END
 Q4.Answer the following questions: a. Compute the time delay produced by

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!