Consider the following loop:
MOV CX, 8000H
L1 : DEC CX
JNZ L1
The processor is running at 14.7456/3 MHz and DEC CX requires 2 clock cycles and JNZ requires 16 clock cycles. The total time taken is nearly
A. 0.01 s
B. 0.12 s
C. 3.66 s
D. 4.19 s
Answer: Option B
Related Questions on Microprocessors and Microcontrollers
A. Circuit A has more gates than circuit B
B. Circuit B has more gates than circuit A
C. Circuit A has the same number of gates as circuit B
D. None of the above
For the number A[15:0] = 0110110010001111, A[14:13] is ______ A[3:2].
A. Less than
B. Greater than
C. The same as
D. Cannot be determined

Join The Discussion