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

In the 8085 microprocessor, what happens to the Stack Pointer after execution of PUSH instruction?

This question was previously asked in
RRB JE 2025 CBT 2 Mechanical and Allied Engg Question Paper English (2-Jul-2026) (Shift-1)
The correct answer is

Decremented by 2

The stack in the 8085 is a region of RAM used for temporary storage of register-pair contents and return addresses, and it grows downward (toward lower addresses). The Stack Pointer (SP) is a 16-bit register that always points to the top of the stack.

The PUSH rp instruction saves a 16-bit register pair (such as B-C, D-E, H-L, or PSW) onto the stack. Because each register pair is two bytes, the operation proceeds in two steps:

  1. SP is decremented by 1, and the high-order byte of the register pair is stored at the address now pointed to by SP.
  2. SP is decremented by 1 again, and the low-order byte is stored at the new SP location.

After both steps, the net change is that SP has been decremented by 2, which is the correct answer. This reflects the fact that two bytes were pushed and the stack top moved down by two addresses.

Why the other options are wrong:

  • Incremented by 2 is exactly what happens during a POP (which removes two bytes and moves the pointer back up), the inverse of PUSH.
  • Incremented by 1 would correspond to storing only a single byte upward, which does not match a two-byte push on a downward-growing stack.
  • Unchanged is impossible, since PUSH must move the pointer to make room for the two bytes it stores.
Was this answer helpful?

Similar Questions

  1. In the 8085 microprocessor, if SP = 3FFFH and memory contains: 

    3FFEH = 20H, 

    3FFFH = 20H, 

    4000H = 10H, 

    4001H = 10H.

     After executing POP H, what will be the contents of HL?


Important Questions from Architecture of 8085

  1. In an 8085 microprocessor, which one of the following instructions changes the content of the accumulator?

  2. Which stack is used in 8085 microprocessors?

  3. 8085 MPU is

  4. In the 8085 microprocessor, if SP = 3FFFH and memory contains: 

    3FFEH = 20H, 

    3FFFH = 20H, 

    4000H = 10H, 

    4001H = 10H.

     After executing POP H, what will be the contents of HL?

  5. In an 8085 microprocessor, the contents of the accumulator and the carry flag are A7 (in hex) and 0, respectively. If the instruction RLC is executed, then the contents of the accumulator (in hex) and the carry flag, respectively, will be
Need Expert Advice?
Test Series
RRB JE img
Railways
RRB JE (CBT 1 + CBT 2) 2026 Mock Test Series
1509 Tests 19 Tests Free
1189 Attempts
4.4(137)
English, Hindi

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