Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please determine the control signals for the following instructions in the un-pi

ID: 3714937 • Letter: P

Question

Please determine the control signals for the following instructions in the un-pipelined MIPS a) w St0,44(St2) b) ori $ti. St2. #44 c) sw St4,44(St7) Solution a) Value Control Signal ALUOp1 ALUOp0 MemWrite ALUSrc RegWrite Value Control Signal RegDst Jump Branch MemRead MemtoReg b) Value Control Signal ALUOp1 ALUOp0 MemWrite ALUSrc RegWrite Value Control Signal RegDst Jump Branch MemRead MemtoRe c) Value Control Signal ALUOp1 ALUOp0 MemWrite ALUSrc RegWrite Value Control Signal RegDst Jump Branch MemRead MemtoRe

Explanation / Answer

As per the data given,

a)lw $t0,44($t2)

b)ori $t1,$t2,#44

c) sw $t4,44($t7)

Control Signal Value Control Signal Value RegDst 0 ALUOp1 0 Jump 0 ALUOp0 0 Branch 0 MemWrite 0 MemRead 1 ALUSrc 1 MemtoReg 1 RegWrite 1