Question: Given 3 MIPS assembly programs and they are executed in a 5 - stage pipeline processor. Answer the following questions: ( i ) add $s
Given MIPS assembly programs and they are executed in a stage pipeline processor.
Answer the following questions:
i
add $s $s$v
add $s $s $s
add $s $s $t
ii
lw $t$s
add $t $t $t
sw $s$s
sub $t $t $t
iii
add $t $t $t
lw $t$t
sub $t $t $t
lw $t$t
add $t $t $t
a Identify the type of hazards for each program.
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
