Home » Microprocessor » Advanced Microprocessors » Question

Advanced Microprocessors

  1. 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—
    1. JNZ 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
Correct Option: D

Such problem can be better understand by flow chart given.

Hence alternative (D) is the correct choice.



Your comments will be displayed only after manual approval.