Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7. Consider the following MIPS code: srl S0, S52,29 sul Ss1, 9:2, 3 or $51, S51, Sto The above code does the following A. rotate

image text in transcribed
7. Consider the following MIPS code: srl S0, S52,29 sul Ss1, 9:2, 3 or $51, S51, Sto The above code does the following A. rotate left Ss2 by 3 bits and store the result in $s! B. rotate left Ss2 by 29 bits and store the result in Ss1 C. rotate right Ss2 by 29 bits and store the result in Ss1 D. rotate right Ss2 by 3 bits and store the result in Ss1 8. In a single-cycle processor, if ALUSer has a stuck-at-1 fault (i.e., the signal is always 1). then: A. All R-type instructions will not work. B. All I-type instructions will not work. C. All branching instructions such as BEQ and BNE will not work. D. R-type instructions with a second source register rt, such as ADD and SUB, will not work 9. In a single-cycle processor, if ALUOpis has a stuck-at-00 fault (1.c., the signal is always 00). then A. All R-type instructions will work properly. B. All R-type instructions with a second source register ft, such as ADD and SUB, will not work C. I-type instructions such as LW and SW will work properly. D. Both (A) and (C) 10. Consider two different implementations, M1 and M2, of the same instruction set. Mi is a single-cycle implementation with a clock rate of 100 MHz and M2 is a multicycle version which operates with a 450 MHz clock. Assume that the multicycle datapath discussed in class is used for M2 to determine the number of clock cycles for each instruction type. Given a program with the 20% loads, 10% stores, 50% ALU operations, 20% jumps and branches, which of the following is true: A. M2 is 1.125 times faster than MI. B. MI is 1.125 times faster than M2. C. M1 and M2 will have the same execution time for the given program. D. None of the above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

Why do many organizations document their internal control system?

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago