Question: Consider the following MIPS code: 1 . lw $s 2 , 0 ( $s 1 ) 2 . lw $s 1 , 4 0 (
Consider the following MIPS code:
lw $s$s
lw $s$s
sub $s $s $s
add $s $s $s
or $s $s $zero
sw $s$s
a Implement this code without forwarding and mention the clock cycles required b Implement this code with forwarding and mention the clock cycles required
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
