Question: Given the following MIPS code: OR $8, $14, $16 ADDI $12, $14, 55 SUB $14, $12, $16 NOR $15, $16, $12 LW $10, 44($12) AND

Given the following MIPS code:

OR $8, $14, $16 ADDI $12, $14, 55 SUB $14, $12, $16 NOR $15, $16, $12 LW $10, 44($12) AND $14, $10, $12

a) Is the LW instruction dependent upon any data from a previous instruction? If so, enter the register number of the value that will need to be forwarded to the LW instruction

(or NONE, if no forwarding will be necessary)

b) If the AND instruction is dependent upon data from previous instruction. during ANDI's EX stage, what control signal will be set, and what value will it be set to?

Enter the control signal and its value, separated by a space example: FORWARDA 1 (or NONE, if no forwarding will be necessary)

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!