subject

The following codes run on the five-stage pipelined datapath. for each piece of code,
answer the following questions.
a) without forwarding, insert the necessary number of ‘nops’ for the code to execute correctly
b) with the forwarding unit available (only supports forwards mem-> ex and wb-> ex), show
how the code will execute. mention the data that’s forwarded between the stages. use ‘nops’
only when necessary.
code 1:
sub t1, t2, t3
add t1, t4, t5
or t4, t2, t6
code 2:
and t2, t5, t1
sub t3, t2, t0
nor t7, t1, t5
code 3:
and t2, t5, t1
sub t3, t2, t0
nor t7, t2, t1
code 4:
lw t1, 22(t0)
and t2, t1, t3
code 5:
lw t1, 22(t0)
sub t6, t0, t2
xor t3, t1, t5

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
The following is an excerpt from a slide presentation. today we will inverse operations solving equations using inverse operations solving inequalities using inverse operations from which part of the presentation does the slide most likely come from? a. introduction b. outline c. body d. conclusion
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
What questions about an audience should be asked during presentation preparation? check all that apply. what does the audience already know about the topic? how will multimedia tools inspire the audience? is the information interesting and engaging? how will this information affect the presentation? will the audience change the message’s purpose? what is likely to interest the audience?
Answers: 3
question
Computers and Technology, 25.06.2019 05:10
What is the disadvantage of a mesh topology?
Answers: 1
You know the right answer?
The following codes run on the five-stage pipelined datapath. for each piece of code,
answer t...
Questions
question
History, 23.11.2019 02:31
question
Mathematics, 23.11.2019 02:31
question
Mathematics, 23.11.2019 02:31
Questions on the website: 13722361