Question: Simple Computer: 8 registers, 64-word instruction memory, 16 bits per instruction (see Notes- Unit 6) For each of the following instructions, indicate the bits

 " "Simple Computer": 8 registers, 64-word instruction memory, 16 bits per

" "Simple Computer": 8 registers, 64-word instruction memory, 16 bits per instruction (see Notes- Unit 6) For each of the following instructions, indicate the bits for the instruction fields (if they do not apply, write 'NA), and the instruction memory contents (if some bits are unused, you can assign 0's). OPCODE DR SA Instruction LDI RO,3 LDI R3,2 LDI R4,6 SUB R7, RO, R4 ADI R5, R4,7 ST R5, R7 XOR R4, R7,R5 LD R6, R5 BRN R7,-5 ST R7, R4 JMP R3 Address SB OP AD Instruction Memory contents 2 10 Emulate the execution of the program by completing the PC (use binary values) as well as the state of the registers (use hexadecimal values) after the instruction pointed by PC is executed. Complete it until the JMP instruction is reached (execute this instruction as well). PC RO R3 R4 R5 R6 R7 " "Simple Computer": 8 registers, 64-word instruction memory, 16 bits per instruction (see Notes- Unit 6) For each of the following instructions, indicate the bits for the instruction fields (if they do not apply, write 'NA), and the instruction memory contents (if some bits are unused, you can assign 0's). OPCODE DR SA Instruction LDI RO,3 LDI R3,2 LDI R4,6 SUB R7, RO, R4 ADI R5, R4,7 ST R5, R7 XOR R4, R7,R5 LD R6, R5 BRN R7,-5 ST R7, R4 JMP R3 Address SB OP AD Instruction Memory contents 2 10 Emulate the execution of the program by completing the PC (use binary values) as well as the state of the registers (use hexadecimal values) after the instruction pointed by PC is executed. Complete it until the JMP instruction is reached (execute this instruction as well). PC RO R3 R4 R5 R6 R7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!