subject
Engineering, 26.11.2020 18:20 ariana0517

Assume that the following code is executed on a five stage pipeline data path: add $5, $2, $1
lw $3, 4($5)
lw $2, 0($2)
or $3, $5, $3
sw $3, 0($5)
and $7, $7, $2

Required:
a. If there is no forwarding and hazard detection unit, insert NOPs in the code to ensure correct operation. How many clock cycles are needed to finish this set of instructions?
b. Repeat part (a) with this assumption that you can change or rearrange the instructions, and the only register that you can use in addition to the above registers is $6. How many clock cycles will you need in this case? What is the speed up compared to part (a).

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Water at 70ยฐf and streams enter the mixing chamber at the same mass flow rate, determine the temperature and the quality of the exiting stream. 0 psia is heated in a chamber by mixing it with saturated water vapor at 20 psia. if both streams enters the mixing chamber at the same mass flow rate, determine the temperature and the quality of the existing system.
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following components of a pid controlled accumulates the error over time and responds to system error after the error has been accumulated? a)- proportional b)- derivative c)- integral d)- on/off.
Answers: 2
question
Engineering, 04.07.2019 18:10
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
Answers: 2
question
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
You know the right answer?
Assume that the following code is executed on a five stage pipeline data path: add $5, $2, $1
...
Questions
question
Mathematics, 18.04.2020 06:17
question
Chemistry, 18.04.2020 06:17
Questions on the website: 13722359