Question

[6 marks Consider the following MIPS code. Determine which registers are being read and which register will be written at the

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


arcta 3 4 be cant Cnal we aul

As we can see from the above pipelined execution diagram a 5 clock cycles we have two instruction which are performing read and write on register

  • Instruction 1 add $s1 $s2 $s3
  • Instruction 4 add $t4 $t5 $t6

so write is performed by instruction 1 and read by instruction 4 at 5th cycle

so register written will be $s1

and read will be $t5 $t6

Add a comment
Know the answer?
Add Answer to:
[6 marks Consider the following MIPS code. Determine which registers are being read and which register will be written at the fifth cycle? 5) dd $t4, $t5 St6 dd $t7, $t8, $t9 [6 marks Conside...
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