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. Calculate the output voltage of an op-amp for input voltages of $V_{i1} = 150 \mu\text{V}$ and $V_{i2} = 140 \mu\text{V}$. The amplifier has a differential gain of $A_d = 4000$ and the value of CMRR is $100$ :
  2. For an op-amp having a slew rate of $4\text{ V}/\mu\text{s}$, what is the maximum closed-loop voltage gain that can be used when input signal varies by $0.1\text{V}$ in $10\mu\text{s}$ ?
  3. For the series diode configuration of the given figure, determine $V_D$ and $I_D$.

  4. For the given emitter-bias network, determine the values of $I_C$ and $V_{CE}$. Assume $\beta = 100$.

  5. Given below are two statements : one is labelled as Assertion (A) and the other is labelled as Reason (R).
    Assertion (A) : The gate of a MOSFET is insulated from body of FET by deposition of a very thin fragile layer of $\text{SiO}_2$ over the substrate.
    Reason (R) : The device is therefore called an insulated gate field-effect transistor (IGFET).
    In the light of the above statements, choose the most appropriate answer from the options given below :
  6. If 8085 microprocessor adds 87H and 79H, then :
  7. 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 :
  8. 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 :
  9. 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 :
  10. 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 :

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
763 Attempts
3.7(15)
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