Question: Use the data path diagram to trace the execution path of the following MIPS instructions (one instruction per diagram): and $t0, $t1, $t2 sw $t0,
Use the data path diagram to trace the execution path of the following MIPS instructions (one instruction per diagram):
and $t0, $t1, $t2
sw $t0, 1024( $t1 )
beq $t0, $t1, L1 # address of L1 is 0xA100
On each diagram, indicate the values of all bit segments ( ex. [31-26] ) and the values for all control signals.

0 Add ALU Addresult Shift left 2 RegDst Branch emRead emtoReg Instruction [31-26 Control ALUO emWrite ALUSrc RegWrite Instruction [25-21] Read Read address register 1 Read nstruction [20-16] Read data 1 register 2 Write Read Zero ALU ALU result Instruction [31-0] Address Read Instruction Instruction [15-11x ]| register data 2 memory I Write data Registers Write Data data memo 16 Sign- extend Instruction [15-0] 32 ALU control Instruction [5-0) 0 Add ALU Addresult Shift left 2 RegDst Branch emRead emtoReg Instruction [31-26 Control ALUO emWrite ALUSrc RegWrite Instruction [25-21] Read Read address register 1 Read nstruction [20-16] Read data 1 register 2 Write Read Zero ALU ALU result Instruction [31-0] Address Read Instruction Instruction [15-11x ]| register data 2 memory I Write data Registers Write Data data memo 16 Sign- extend Instruction [15-0] 32 ALU control Instruction [5-0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
