The top of a memory stack contains 5000. The stack pointer SP contains 4000. A two- word

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 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?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Logic And Computer Design Fundamentals

ISBN: 9780133760637

5th Edition

Authors: M. Morris Mano, Charles Kime, Tom Martin

Question Posted: