Question: Consider the following simple snippet of MIPS code, which transfers a value from memory location A to memory location A + 4000 (where A

Consider the following simple snippet of MIPS code, which transfers a value from memory location A to memory location A + 4000 (where A is stored in $s1): lw $s0, 0 ($s1) sw $s0, 4000 ($s1) (a) Assuming no data forwarding, what registers cause data hazards in this snippet? Show your work that explains your answer (or write a sentence that explains). (b) Show how the existing architecture can handle data forwarding in this case, or describe what needs to be done/added to handle it.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
