Question: bne StA, StB, Else add St, $D, SE j Exit Else: sub StF, StG, $tH Exit: For the above MIPS code, assume that you are

 bne StA, StB, Else add St, $D, SE j Exit Else:

bne StA, StB, Else add St, $D, SE j Exit Else: sub StF, StG, $tH Exit: For the above MIPS code, assume that you are working with the register numbers assigned according to your student number as follows (You can find example values for the student with ID 240201064 in the parentheses): A=The last, 9th, digit of your student ID (4) B=The 8th digit of your student ID (6) C=The 7th digit of your student ID (0) D=The 6th digit of your student ID (1) E=The 5th digit of your student ID (0) F=The 4th digit of your student ID (2) G=The 3rd digit of your student ID (0) H=The 2nd digit of your student ID (4) So, for example, the instruction "bne StA, SUB, Else" will be "bne St4, $t6, Else". Also assume we have the following values in the registers initially: $t0=1, $t1=2, St2=1, $t3=2, St4=1, $t5=2, $t6=1, $t7=2, $t8=1, $t9=2. Add ALU SNR len RegDa mad Memoen Instruction (31-261 CALOR ALL RogWrite Read register1 Pad Read PC instruction 125-21) Read address instruction (2016 Instruction Instruction instruction [15-111! memory Zone Read ALU ALU write register data 2 Write data Register Det datamary Instruction 15-01 16 Sige 32 extend ALU control Instruction 15-01 Assume that the current instruction executed is the last arithmetic instruction in the given code. What are the values in "Read Data 2", "Write Data" and "Write Register" ports of the register file in our single-cycle datapath? Explain your answer by showing all the steps

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!