Question: The contents of the top of a memory stack (TOS) contains the value 0x3C7A. The stack pointer (SP) contains 0x2000.
A two- word procedure CALL instruction is located in memory at address 0x1957, followed by the address field of 0x0500 at location 0x1958. If push uses pre-decrement of SP and pop uses post-increment of SP, what are the contents of the program counter (PC), SP and TOS
Part 1: before the CALL instruction is fetched from memory?
Part 2: after the CALL instruction is executed?
Part 3: after the return from the procedure is executed?
Solve these parts in details and provide examples to support your rationale.