Question: in the following problem sets, we will use this expanded set of list of opcodes for our hypothetical machine: 0001 = Load AC from memory


in the following problem sets, we will use this expanded set of list of opcodes for our hypothetical machine: 0001 = Load AC from memory 0010 = Store AC to memory 0011 - Jump to address 0100 - Subtract memory from AC (result in AC) 0101 - Add to AC from memory (result in AC) Perform program fetch/execute cycles for the following initial memory and program states. NOTE: one of the problems uses the Jump to address instruction to implement a loop. You do not need to simulate more than the 4 fetch/execute cycles for this problem, even though the program in principle would execute forever. Memory CPU registers Memory CPU registers 2 5940 4941 3301 940 941 0005 0001 Step 1 Memory CPU registers CPU registers Step 3 CPU registers CPU registers Memory 941 CPU registers Memory CPU registers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
