Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started