Consider the following instruction: Instruction: AND Rd,Rs,Rt Interpretation: Re
ID: 1847372 • Letter: C
Question
Consider the following instruction: Instruction: AND Rd,Rs,Rt
Interpretation: Reg[Rd] = Reg[Rs] AND Reg[Rt]
1.What are the values of control signals generated by the control in Figure 4.2 for the following instruction?
-RegWrite = 1.
-RegDst = 1.
-Pcsrc = 1.
2. Which resources (blocks) perform a useful function for this instruction?
-The program counter, instruction memory, registers, and ALU are the blocks that perform useful functions for this instruction.
3. Which resources (blocks) produce outputs, but their outputs are not used for this instruction? Which resources produce no outputs for this instruction?
-The branch block produces outputs but its outputs are not used for this instuction, and the data memory block produces no outputs for this instruction.
I am pretty sure I am compltley off, can anyone help me?
figure 4.2
Explanation / Answer
1)
last column is Branch
2)
a. Everything except the Data Memory and branch Add unit.
b. Everything except the branch Add unit and Channel 2 Register is read.
3)
a. Outputs that are not in use is the absence Outputs Branch Add the Data Memory.
b. Outputs that do not use the Branch Add and Register to read the article Channel 2 will have all the Outputs.
RegWrite MemRead ALUMux MemWrite ALUOp RegMux a. 1 0 0(Reg) 0 Add 1(ALU) 0 b. 1 1 1(Imm) 0 Add 1(Mem) 0
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.