What are the contents of the program counter pc sp and tos


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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What are the contents of the program counter pc sp and tos
Reference No:- TGS0953254

Expected delivery within 24 Hours