Question: The top of a memory stack contains 5000. The stack pointer SP contains 4000. A two- word procedure call instruction is located in memory at
The top of a memory stack contains 5000. The stack pointer SP contains 4000. A two- word procedure call instruction is located in memory at address 2000, followed by the address ield of 502 at location 2001. All of these are decimal values. What are the contents of PC, SP, and the top of the stack
(a) Before the call instruction is fetched from memory.
(b) After the call instruction is executed.
(c) After the return from the procedure?
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
PC SP TOS a Initia... View full answer
Get step-by-step solutions from verified subject matter experts
