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

If SS = 3000 H and SP = 2000 H in 8086 microprocessor, in which memory addresses the contents of BL and BH are stored respectively, when PUSH BX instruction is executed.

This question was previously asked in
UGC NET 2023 Electronic Science Question Paper (13-Dec-2023) (Shift 1)
The correct answer is

31FFEH, 31FFFH

The problem involves understanding how the stack operations work in the 8086 microprocessor. Specifically, we are asked to determine the memory addresses where the contents of the BL and BH registers are stored when the PUSH BX instruction is executed.

Understanding PUSH Operation

When a PUSH instruction is executed on a register, the contents of the register are pushed onto the stack. In an 8086 microprocessor, the stack grows downward (from higher to lower memory addresses). The stack segment (SS) register points to segment, and the stack pointer (SP) register contains the offset within that segment.

Calculating Initial Address

  • The segment address = \(SS \times 16 = 3000 \, H \times 16 = 30000 \, H\).
  • The initial stack pointer (SP) = 2000H.

Hence, the initial stack top address = \(30000 \, H + 2000 \, H = 32000 \, H\).

Effect of PUSH BX

  • The PUSH operation first decrements the SP by 2 to make space for the register contents.
  • The contents of the higher byte (BH) are pushed to the memory address where SP points to, then SP is decremented again to push the lower byte (BL).

Determining New SP and Addresses

  1. After the first decrement, SP = 1FFEH.
  2. The content of BL is stored at address \(32000 \, H - 02 = 31FFE \, H\).
  3. Next, the SP is decremented again to 1FFCH (since PUSH decrements SP by two bytes for the next byte).
  4. The content of BH is stored at address \(32000 \, H - 04 = 31FFF \, H\).

Conclusion

Thus, the addresses where BL and BH are stored respectively after the PUSH BX operation are 31FFEH and 31FFFH. Hence, the correct answer is:

31FFEH, 31FFFH

Was this answer helpful?

Similar Questions

  1.  

    $D_7$$D_6$$D_5$$D_4$$D_3$$D_2$$D_1$$D_0$

    In 8255 programmable peripheral interface device, if the port A and port B are to be set in a hand shake mode along with port C, what are the bits in the 8 bit control word  to be set as 0 1 0.

  2. The number system for the machine code of the microprocessor 8085 is

  3. Which of the options in a multipurpose instruction used to implement the interrupt of 8085 and serial data input ?

  4. Both 8155 and 8255 programmable peripheral interface ICs have the following common features :

    (i) Programmable I/Os
    (ii) Either port A or Port B can be set as either input or output ports.
    (iii) One 14-bit down counter
    (iv) AD0 – AD7 are multiplexed address/datalines.

  5. Each instruction in an assembly program has the following fields :

    (i) Lable field
    (ii) Operand field
    (iii) Comment field
    (iv) Mnemonic field

    Please write the proper sequence of fields :

  6. The mnemonic of 8085 processor indicate :

    List – I  List – II  
    a. RLCi. Rotate Accumulator Right through carry
    b. RRCii. Rotate Accumulator Left through carry
    c. RARiii. Rotate Accumulator Left
    d. RALiv. Rotate Accumulator Right

    Codes :

  7. Match the following :

    List – I (Pin terminals)List – II (Applications)  
    a. SID, SODi. Wait state
    b. READYii. Serial data transfer
    c. TRAPiii. Address Latch Control
    d. ALEiv. Interrupt

    Codes :

  8. Assertion (A) : In serial communication system, when the transmission of data goes in both ways, it is called full-duplex system. Now if two micro processors are connected in full duplex mode, the amount of data transmitted will be double to the amount of data in half-duplex mode connection.

    Reason (R) : When the transmission of data goes in one way, it is called half-duplex system and when the data moves in both ways, it is called full duplex system.

  9. The assembler directive used to give name to some value or symbol for 8086 ASM-86 is

  10. Which of the following peripherals provide I/O facilities ?

    i. 8279   

     ii. 8155

    iii. 8259    

    iv. 8255


Important Questions from Microprocessors

  1. What is the value in AL and CF after the following instruction in 8086 is executed?
    MOV AL, 8EH
    MOV CL, 02H
    SAR AL, CL
  2. What is the content in R1, after the following instructions are executed?
    CLR C
    MOV A,#4CH
    SUBB A,#6EH
    JNC NEXT
    CPL A
    INC A
    NEXT: MOV R1, A
  3. When TMOD is 10 H, the timer will operate as ____________.
  4. The Assembler directive in 8086 which is used to tell the assembler that the names or labels following the directive are in some other assembly module is, ____________.
  5. The magnetic vector potential of an electromagnetic system is given by $  \vec{A}=(y \cos ax)  \vec{a_x} + (y+e^x)   \vec{a_z}$. The magnitude of the magnetic flux density at the origin is

Need Expert Advice?
Upcoming Exams
GSET
November 29, 2026
CTET
December 12, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) 2026 Mock Test Series
796 Tests 2 Tests Free
229 Attempts
4.4(46)
English
More Questions from UGC NET

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