Question 3.4: Find the size of the delay in following program, if the crys...

Find the size of the delay in following program, if the crystal frequency is 11.0592MHz.

Machine Cycle

DELAY:        MOV    R3,#250                  1
HERE:          NOP                                     1

NOP                                     1
NOP                                     1
NOP                                     1
DJNZ    R3,HERE               2
RET                                      2

The blue check mark means that this solution has been answered and checked by an expert. This guarantees that the final answer is accurate.
Learn more on how we answer questions.

The time delay inside HERE loop is

[250 ( 1 + 1 + 1 + 1 + 2 )] x1.085 μs = 1627.5 μs.
Adding the two instructions outside loop we have 1627.5 μs + 3 x 1.085 μs = 1630.755 μs

Related Answered Questions

Question: 3.1

Verified Answer:

11.0592/12 = 921.6 kHz; machine cycle is 1/921.6 k...