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

1 Expert Approved Answer
Step: 1 Unlock

PC SP TOS a Initia... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Logic And Computer Design Fundamentals Questions!