When PUSH PSW instruction is executed, the stack pointer :
MH SET - 2018, SET Exam - 2018,
Answer: D
The stack pointer decrements by 2.
In the 8085, PUSH PSW saves the program status word, the accumulator and the flag register, which is two bytes. The stack grows downward: the stack pointer is decremented and the accumulator stored, then decremented again and the flags stored. Net, SP decreases by 2.
Every PUSH in the 8085 moves a register pair, so SP never changes by 1. The stack pointer increments by 2 only on a POP, which removes data from the stack.
Please log in or register to report this question.