All Exams Test series for 1 year @ ₹349 only
Question

The content of register (B) and register (C) of 8085 microprocessor are 0AH and 0BH. It is desired to multiply the content of register B and register C and store the results in accumulator. A part of 8085 program for this purpose is given as :
MVI A, 00H
LOOP ; _ _ _ _ _
_ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _
HLT END
A sequence of instructions to complete the program would be :

This question was previously asked in
CUET PG 2026 Agri-Business Management Question Paper (25-Mar-2026) (Shift 2)
The correct answer is
ADD B, DCR C, JNZ LOOP

8085 Multiplication Program Logic

The objective is to multiply the contents of register $B$ by the content of register $C$ and store the result in the accumulator $A$. This is achieved using repeated addition within a loop.

Initial values: Register $B$ = $0AH$, Register $C$ = $0BH$.

The program starts with initializing the accumulator $A$ to $00H$.

$MVI A, 00H$

Multiplication via Repeated Addition

Multiplication can be performed by repeatedly adding the multiplicand (content of $B$) to the accumulator $A$, for a number of times specified by the multiplier (content of $C$). Register $C$ serves as the loop counter.

Step-by-Step Program Execution

The loop needs to perform the following actions in each iteration:

  1. Add the value of register $B$ to the accumulator $A$.
  2. Decrement the loop counter in register $C$.
  3. Check if the counter ($C$) has reached zero. If not, repeat the loop.

Considering the available options, the sequence that correctly implements these steps is:

  1. $ADD B$: Adds the content of register $B$ to the accumulator $A$.
  2. $DCR C$: Decrements the content of register $C$ by 1.
  3. $JNZ LOOP$: Jumps to the label $LOOP$ if the result of the last $DCR C$ operation is not zero.

This sequence ensures that the addition happens, followed by the decrementing of the counter, and then the jump condition is checked. This correctly executes the addition $0BH$ times.

Therefore, the complete sequence to fill the gap is $ADD B, DCR C, JNZ LOOP$.

Program Structure:

$MVI A, 00H$

$LOOP: ADD B$

$ DCR C$

$ JNZ LOOP$

$HLT$

$END$

Was this answer helpful?

Similar Questions

  1. If 8085 microprocessor adds 87H and 79H, then :
  2. The sequence of steps performed by microprocessor to fetch the data byte from memory :
    A. The byte is placed in the instruction decoder of the microprocessor.
    B. The byte from the memory location is placed on data bus.
    C. The control unit sends the control signal $\overline{\text{RD}}$ to enable the memory chip.
    D. The microprocessor places the 16-bit memory address from program counter on the address bus.
    Choose the correct answer from the options given below :
  3. Sequence of steps in 8085 microprocessor interrupt execution :
    A. Interrupt acknowledged
    B. Program counter content saved
    C. Control transfered to ISR
    D. Interrupt vector is read
    Choose the correct answer from the options given below :
  4. Consider the following statements regarding the 8085 microprocessor :
    A. The 8085 is an 8-bit microprocessor.
    B. It has a 16-bit address bus, allowing it to access 64 KB of memory.
    C. It has 40 pins.
    D. It uses a multiplexed address/data bus.
    Choose the correct answer from the options given below :
  5. In 8085 microprocessor, which of the following are 2-byte instructions ?
    A. MOV C, A
    B. MVI A, 32H
    C. LDA 2050H
    D. JMP 2085H
    E. ADD B
    Choose the correct answer from the options given below :
  6. Match List - I with List - II.
    List - I
    (Addressing Modes)
    List - II
    (Instruction)
    A. Immediate AddressingI. LDAX B
    B. Register AddressingII. OUT 01H
    C. Direct AddressingIII. MVI B, 37H
    D. Indirect AddressingIV. MOV A, B
    Choose the correct answer from the options given below :
  7. Match List - I with List - II.
    List - IList - II
    (Memory)(Characteristic)
    A. ROMI. Volatile, Fast, Expensive
    B. EPROMII. UV erasable
    C. EEPROMIII. Electrically erasable
    D. SRAMIV. Non-Volatile, permanent data

    Choose the correct answer from the options given below :
  8. Match List - I with List - II.
    List - IList - II
    (Bus/Logic)(Function/Characteristic)
    A. Address busI. Carries read/write signals, timing signals, and interrupt signals
    B. Data busII. A three-state output that can be high, low, or high-impedance
    C. Control busIII. Unidirectional lines used by CPU to point to a memory location or I/O device
    D. Tristate logicIV. Bidirectional lines used for transferring data between the CPU and memory

    Choose the correct answer from the options given below :
  9. The most fundamental physical principle that allows light to be transmitted along the optical fiber without significant loss :
  10. The energy-momentum (E-K) relationship in a crystalline solid is usually obtained by solving :

Important Questions from Miscellaneous

  1. Which of the following scheduler/schedulers is/are also called CPU scheduler ?
    (A). Short Term Scheduler
    (B). Long Term Scheduler
    (C). Medium Term Scheduler
    (D). Asymmetric Scheduler
    Choose the correct answer from the options given below:
  2. A situation where two or more processes are blocked, waiting for resources held by each other is called:
  3. External fragmentation occurs ________.
  4. Which disk scheduling algorithm looks for the track closest to the current head position?
  5. Which CPU scheduling algorithm prefers the process with the shortest burst time?
Need Expert Advice?
Upcoming Exams
GATE
February 06, 2027
Test Series
CUET PG img
CUET
CUET PG Psychology (HUQP20) 2026 Mock Test Series
10 Tests
753 Attempts
3.7(14)
English
More Questions from CUET PG

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App