MIPS Architecture Comprehensive Exam With Questions And Correct Answers.
5 views 0 purchase
Course
MIPS
Institution
MIPS
Give at least 2 examples of each design principle (and describe how it improves performance or reduces complexity.) - correct answer 1. Simplicity favours regularity
2. Make the common case fast
3. Smaller is faster
4. Good design demands good compr...
Give at least 2 examples of each design principle (and describe how it improves performance or reduces
complexity.) - correct answer 1. Simplicity favours regularity
2. Make the common case fast
3. Smaller is faster
4. Good design demands good compromises
DP1: Simplicity Favors Regularity - correct answer Implementation of
instructions decoding is fast because of the regularity of the MIPS instructions:
a) All instructions are 32 bits
b) There are only 3 instruction formats (R-, I- and J-Type).
c) Each instruction format has the same number of operands in the same bit positions
d) Each instruction format has the same 6-bit op-code in the same bit positions
DP2: Make the common case fast - correct answer -Registers allow fast access
to the most recently accessed variables.
-There is a small number of instructions that can be implemented with low complexity.
-All instructions are 32 bits to make decoding fast- more complex operations requiring longer
instructions can be performed with multiple instructions.
DP3: Smaller is faster - correct answer The register file has only 32 registers for
fast access.
Relatively small instruction set for fast implementation.
DP4: Good design demands good compromises - correct answer -MIPS uses 3
instruction formats as using just one would impose too many constraints on the instruction set.
-The architecture supports main memory (despite its slow access time) and registers to allow a much
larger memory space.
-Special registers and instructions are provided for multiplications which produce a 64-bit result.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller RealGrades. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.