Question

Consider the following operations: A B- C The corresponding assembly code instruction list generated by a compiler are 1 load

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a)

Potential Hazards :-

RAW: Instructions 4 and 6. Register R0.
RAW: Instructions 5 and 6. Register R3.

b)

Hazards eleminated through stalling :-

10 12 13 MEM WB MEM MEM WB MEM ID EX WB t- (0) MEM WB ID ID EX MEM WB ID EX MEM WB

Through forwarding :- (if forwarding enabled then no hazard )

10 9 6 5 4 3 2 WB MEM EX IF IM多 MEM lix WB MEM ID WB 2 2 2 MEM WB MEM MEM ID MEM EX ID


Add a comment
Know the answer?
Add Answer to:
Consider the following operations: A B- C The corresponding assembly code instruction list generated by a compiler are 1 load [%r0 +4], %r1 2 load [%r0 + 8], %r2 3 sub %r1, %r2,%r3 4 load [ZrO + 1...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT