Question: For the assembly language program and memory map given below, Assembly Memory Loc Machine Code LOADI RO,3 0 LOADI R1, -2 1 SRO RO, RO
For the assembly language program and memory map given below, Assembly Memory Loc Machine Code LOADI RO,3 0 LOADI R1, -2 1 SRO RO, RO 2 ADDI R1, -2 3 ADDI RO, 3 4 ADDI R1, 2 5 MOV R1, RO 6 OUT R1 7 00100011 10000010 01100011 01110010 00010100 11011010 Trace the program execution for 4 Fetch/Decode/Execute cycles. Enter the register contents in the spaces provided. Assume all registers are initialized to zeros at the start of the execution. Further, assume that execution starts at memory location 0. R1: PC: IR OUT: IN
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
