Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following lines of MIPS code: I 1 : add $t 3 , $t 1 , $t 2 I 2 : or $t 5
Consider the following lines of MIPS code:
I: add $t $t $t
I: or $t $t $t
I: add $t $t $t
I: lw $t$t
I: sw $t$t
I: lw $t$t
a Find all the data dependencies and their types give instructions and the registers involved
b List the hazards.
c Add NOP instructions to eliminate the hazards identified in b
d Assuming a clock period of ps what is the total time to execute the instruction sequence
resulting from c
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started