Question: Consider the following sequence add $16, $1, $3 andi $12 , $16, 8 or $13, $6, $16 sub $14, $16, $12 sw $15, 100($16) Identify
Consider the following sequence
add $16, $1, $3
andi $12 , $16, 8
or $13, $6, $16
sub $14, $16, $12
sw $15, 100($16)
Identify the data hazards present in the sequence:
sub uses $16 before add writes it.
andi writes $12 after sub uses it.
andi writes $12 after sub uses it.
add writes $16 after andi uses it.
sub uses $12 before andi writes it.
add writes $16 before sub uses it.
or uses $16 before and writes it.
add writes $16 after sw uses 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
