Multiple choice

It is desired to multiply the numbers 0AH by 0BH and store the result in the accumulator. The numbers are available in registers 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 instructions to complete the program would be

  1. JNX LOOP, ADD B, DCR C

  2. ADD B, JNZ LOOP, DCR C

  3. DCR C, JNZ LOOP, ADD B

  4. ADD B, DCR C, JNZ LOOP

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation