Question: Answer part C. Assume a microprocessor that requires 2, 3, 4, 8, or 12 machine cycles to perform various operations. A total of 25% of

Answer part C. Assume a microprocessor that requires 2, 3, 4, 8, or 12 machine cycles to perform various operations. A total of 25% of its instructions require 2 machine cycles, 20% require 3 machine cycles, 17.5% require 4 machine cycles, 12.5% require 8 machine cycles, and 25% require 12 machine cycles.

A.) What is the average number of machine cycles per instruction for this microprocessors

25 *2 + .2*3 +.175 *4 +.125*8 +.25*12 = 5.8 cycle/instructions

B.) What is the clock rate (machine cycles per second) required for this microprocessor to be a 1 MIPS processor?

5.8 cycles/instruction * 1,000,000 instructions/second =5.8GHz

C.) Suppose this system requires an extra 20 machine cycles to retrieve an operand from memory. It has to go to memory 40% of the time. What is the average number of machine cycles per instruction for this microprocessor, including its memory fetch instructions?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!