Consider a HW ISA program P1 with the following Instruction Memory IM: a. fill in the execution table for program P1 using the IM. Use the same notational conventions used in the example execution table for P0 below. Any numbers beginning with 0x will be interpreted as hexidecimal; any numbers not beginning with 0x will be interpreted as decimal. b. Show the final values of the registers R2, R3, and R4 when the program execution halts. Again, any numbers beginning with 0x will be interpreted as hexidecimal; any numbers not beginning with 0x will be interpreted as decimal.
Consider a HW ISA
a. fill in the execution table for program P1 using the IM. Use the same notational conventions used in the example execution table for P0 below. Any numbers beginning with 0x will be interpreted as hexidecimal; any numbers not beginning with 0x will be interpreted as decimal.
b. Show the final values of the registers R2, R3, and R4 when the program execution halts. Again, any numbers beginning with 0x will be interpreted as hexidecimal; any numbers not beginning with 0x will be interpreted as decimal.
The execution of a program, denoted as "P1," which operates under a specific hardware instruction set architecture (ISA). The program's behavior is determined by a sequence of instructions stored in an Instruction Memory (IM). Our objective is to create an execution table that illustrates the step-by-step execution of this program and, ultimately, determine the final values of registers R2, R3, and R4 when the program concludes.
Step by step
Solved in 4 steps