1. (chapter 4.1) Consider the following instruction: Instruction: Add Rd. Rs. Rt
ID: 3680700 • Letter: 1
Question
1. (chapter 4.1) Consider the following instruction: Instruction: Add Rd. Rs. Rt Interperation: Reg[Rd] -Reg[Rs] + Reg[Rt] a, What are the values of control signals generated by the control in Figure 4.2 for the above instruction? (4 points) RegWrite MemRead ALUMux Mem Write ALUOp RegMux Branch b, Which resources (blocks) perform a useful function for this instruction? (2 points) c Which resources (blocks) produce outputs, but their outputs are not used for this instruction? (2 points) d, which resources (blocks) produce no output for this instruction? (2 points)Explanation / Answer
B)
As per our instruction, first the address is fetched from PC then the data is fetched from instruction memory,to perform calculation (add) ALU is used and the result is stored in registers.
So, the involved blocks are ALU, registers, PC and instruction memory.
C)
In our instruction, branch instruction gives output but its not being consumed anywhere. Instead it used to find the next instruction address rather than the actual output. But still we aren'u cnsuming the output produced by branch
D)
In our instruction, we are not at all reading the data from data memory. Data memory is responsible for loading and storing instructions to be performed. Hence, it doesn't produce any output for the provided instruction.
REG WRITE MEM WRITE MEM READ ALU OP BRANCH 1 0 0 10 0Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.