Question: This instruction word is MIPS s sw $t 1 , 4 ( $s 1 ) # Assume the value in $t 1 is 0 xab

This instruction word is MIPSs sw $t1,4($s1)
# Assume the value in $t1 is 0xab
# Assume the PC is at 0x00400008
# Assume that $s1 holds the base value 0x10010020
Provide the following information.
Draw the Data Path of the above instruction in Red on the figure provided below.
Ready
What are the values of all inputs for the registers file unit?
$t1: 0xab
$s1: 0x10010020
Identify what two datum are going into the ALU and what data is coming out of the ALU.
First is $s1: 0x10010020, and second is added by 0x00000004(sign extension) and the result is 0x10010024.
Identify what is stored in the memory
Give the value for each Control Signal for this instruction. (RegDst, Branch, MemRead, MemtoReg, MemWrite, ALUSrc, RegWrite)
Give the ALUOp and the Alu Operation code that will be performed.

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 Programming Questions!