Question: csci 430 thank you In the following problem sets, we will use this expanded set of opcodes for our hypothetical machine: 0001 = Load AC

In the following problem sets, we will use this expanded set of opcodes for our hypothetical machine: 0001 = Load AC from memory (LOAD) 0010 = Store AC to memory (STORE) 0100 = Subtract memory from AC (result in AC) (SUB) I 0101 = Add to AC from memory (result in AC) (ADD) 0110 = Jump to address, absolute jump (JMP) 0111 = Jump to address if result was 0, conditional jump (JMPZ) 1000 = Jump to address if result was negative, conditional jump (JMPN) Memory 4940 CPU registers 300 Memory 4940 CPU registers PC 300 301 5941 PC AC 301 5941 302 2941 AC IR 302 2941 IR 940 940 941 Fetch 3 941 Execute 3 Memory 4940 CPU registers 300 Memory 4940 CPU registers PC 300 301 PC 5941 AC 301 5941 302 AC 2941 IR 302 2941 IR 940 940 941 Fetch 4 941 Execute 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
