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 15:00
Which of the following has not been attributed at least in part to social media a. drug addiction b. depression c. kidnapping d. murder
Answers: 2
question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 23.06.2019 11:00
What are the possible consequences of computer hacking? what is computer piracy? describe some examples. what are the effects of computer piracy? what are the possible consequences of computer piracy? what is intentional virus setting? describe some examples. what are the effects of intentional virus setting? what are the possible consequences of intentional virus setting? what is invasion of privacy? describe some examples. what are the effects of invasion of privacy? what are the possible consequences of invasion of privacy? what is an acceptable use policy and what is the purpose of the acceptable use policy what is intellectual property and how can you use it?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
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
Mathematics, 19.08.2020 04:01
question
English, 19.08.2020 04:01
question
Geography, 19.08.2020 04:01
question
Mathematics, 19.08.2020 04:01
Questions on the website: 13722363