Question: The answers are given. Please explain. 2. (5 points each) Consider the following instruction 2.1 Sw $s0,-19 ($s1) 2.1.a. What are the values of the

 The answers are given. Please explain. 2. (5 points each) Consider

The answers are given. Please explain.

2. (5 points each) Consider the following instruction 2.1 Sw $s0,-19 ($s1) 2.1.a. What are the values of the control signals generated by the control unit in the diagram for the above instruction? Use 'x' for the controls that do not matter Answer: RegDstMemRead MemToReg MemWrite ALUSrcBranch RegWrite Jump SW Instr 25:0 (PC+4131 :28] instr(25.010 0 ALU result Add Jump Shift left 2 Reg Write Instr[25:21] PCaddressnstr(20:16] Read register 1 Read Read data I Read ALUSrc MemWrite MemtoReg register 2 LU ALUAddress dataM Instr[31:0] Instructio MI, write data 2 memoryInstr(15:11 register Write Registers ALUOp Write Data data memory Branch MemRead MemtoReg Me ControlMemra 15:016 Mem Write ALUSrc RegWrite 2.1.b. Name two units that has an output but not being used. Answer:j block, shift left 2, right adder 2.1.c. Answer: 0xFFFF FFED What is the output of the Sign-extend? 2.2 j 0x2FF0OFF this instruction is fetched at address 0x3F031100 2.2.a. Identify the unit in the figure that performs the jump instruction. Answer: Middle top block. 2.2.b. What are the values of the control signals generated by the control unit in the diagram for the above instruction? Use 'x' for the controls that do not matter Answer: RegDstMemRead MemToReg MemWrite ALUSrc Branch RegWrite Jump 2.2.c. What is the branch target address, i.e., the new PC? 2. (5 points each) Consider the following instruction 2.1 Sw $s0,-19 ($s1) 2.1.a. What are the values of the control signals generated by the control unit in the diagram for the above instruction? Use 'x' for the controls that do not matter Answer: RegDstMemRead MemToReg MemWrite ALUSrcBranch RegWrite Jump SW Instr 25:0 (PC+4131 :28] instr(25.010 0 ALU result Add Jump Shift left 2 Reg Write Instr[25:21] PCaddressnstr(20:16] Read register 1 Read Read data I Read ALUSrc MemWrite MemtoReg register 2 LU ALUAddress dataM Instr[31:0] Instructio MI, write data 2 memoryInstr(15:11 register Write Registers ALUOp Write Data data memory Branch MemRead MemtoReg Me ControlMemra 15:016 Mem Write ALUSrc RegWrite 2.1.b. Name two units that has an output but not being used. Answer:j block, shift left 2, right adder 2.1.c. Answer: 0xFFFF FFED What is the output of the Sign-extend? 2.2 j 0x2FF0OFF this instruction is fetched at address 0x3F031100 2.2.a. Identify the unit in the figure that performs the jump instruction. Answer: Middle top block. 2.2.b. What are the values of the control signals generated by the control unit in the diagram for the above instruction? Use 'x' for the controls that do not matter Answer: RegDstMemRead MemToReg MemWrite ALUSrc Branch RegWrite Jump 2.2.c. What is the branch target address, i.e., the new PC

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!