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 03:50
You are working as a security analyst in a company xyz that owns the whole subnet range of 23.0.0.0/8 and 192.168.0.0/8. while monitoring the data, you find a high number of outbound connections. you see that ip's owned by xyz (internal) and private ip's are communicating to a single public ip. therefore, the internal ip's are sending data to the public ip. after further analysis, you find out that this public ip is a blacklisted ip, and the internal communicating devices are compromised. what kind of attack does the above scenario depict?
Answers: 3
question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
What process should be followed while giving a reference? sam has given a reference of his previous manager in his resume. sam should him in advance that the potential employers will him.
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, 07.12.2020 14:00
question
Mathematics, 07.12.2020 14:00
question
Mathematics, 07.12.2020 14:00
Questions on the website: 13722367