Question

9 of 9 Problema #6 The breakdown of executed instructions is as follows: add addi 30% not 5% Iw 115% 10% 135% 15% 1. In what fraction of all cycles is the data memory used? 2. In what fraction of all cycles is the output of the sign-extend circuit needed?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. Data memory is used only in Load and Store instruction, which are "lw" and "st" instruction here. So out of 100 % instruction, "lw" and"st" instruction are 15+5 = 20%

So fraction of cycle used for data memory = 20/100 = 1/5

2. Sign extended circuit is needed only for addi, lw and sw instruction because these are the only operation in which some immediate value is present in the instruction and to add a value with immediate operand, sign extension is needed.

So total percentage of instruction which need sign extension are = 30 + 15 + 5 = 50 %

So fraction of cycle used for data memory = 50/100 = 1/2

Please comment for any clarification.

Add a comment
Know the answer?
Add Answer to:
9 of 9 Problema #6 The breakdown of executed instructions is as follows: add addi 30%...
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