What happens to the stack pointer (SP) when the CALL instruction is executed?
AIt remains unchanged.
BIt points to the next instruction in the subroutine.
CIt increases by 2 (or 4 in 32-bit systems)
DIt decreases by 2 (or 4 in 32-bit systems)
Show answerHide answer
Correct answer: (D) It decreases by 2 (or 4 in 32-bit systems)
Explanation
CALL pushes the return address onto the stack. The stack grows downward, so SP is decreased by 2 (or by 4 on 32-bit systems) before the address is stored.