-
It is desired to multiply the numbers 0AH by 0BH and store the result in the accumulator. The numbers are available in register B and C respectively. A-part of the 8085 program for this purpose is given below:
MVI A, 00H
LOOP: ………………
………………
………………
HLT
END
The sequence of the instructions to complete the program would be—
-
- JNZ LOOP
ADD B
DCR C - ADD B
JNZ LOOP
DCR C - DCR C
JNZ LOOP
ADD B - ADD B
DCR C
JNZ LOOP
- JNZ LOOP
Correct Option: D
Such problem can be better understand by flow chart given.
Hence alternative (D) is the correct choice.