In the 8085 microprocessor, what happens to the Stack Pointer after execution of PUSH instruction?
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:
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:
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?
In an 8085 microprocessor, which one of the following instructions changes the content of the accumulator?
Which stack is used in 8085 microprocessors?
8085 MPU is
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?