Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you solve these MCQs? is the effective address calculated for lw and sw instructions? a. By converting the byte address to a word address

Can you solve these MCQs?

is the effective address calculated for lw and sw instructions? a. By converting the byte address to a word address and adding it to the PC. b. By putting the immediate operand into register 0. c. By sign-extending bits 15:0 of the instruction, and adding that to the contents of the register whose number is in bits 25:21 of the instruction. d. By using the shamt field of the instruction to determine where to branch. 6) Why is it necessary to provide a mechanism for using either the rt or the rd field of instructions as the register number for writing data to the register file? a. Because add instructions use rt, but sub instructions use rd. b. Because I-Format instructions dont have an rd field. c. Because branch instructions need both rt and rd for saving the results. d. Because R-Format instructions dont have an rt field. 7) What determines the clock period of a single-cycle processor? a. The number of registers in the register file b. The number of ALUs c. The number of CPUs d. The propagation delays for lw instructions 8) How many clock cycles does it take an instruction to go through a 5-stage pipeline? a. 1 b. 2 c. 3 d. 4 e. 5 9) What is the ideal number of clock cycles per instruction for a long-running program on a 5-stage pipeline? a. 1 b. 2 c. 3 d. 4 e. 5 10) Pipelining helps reduce the execution time of an instruction a. true b. false

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

More Books

Students also viewed these Databases questions

Question

305 mg of C6H12O6 in 55.2 mL of solution whats the molarity

Answered: 1 week ago