Explore BrainMass

Average machine cycles per instruction and clock rate

Not what you're looking for? Search our solutions OR ask your own Custom question.

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

A certain microprocessor requires either 2, 4, 8, 12, or 16 machine cycles to perform various operations. Seventeen and one-half (17.5.) percent of its instructions require 2 machine cycles, 12.5% require 4 machine cycles, 35% require 8 machine cycles, 20% require 12 machine cycles, and 15% require 16 machine cycles.

a. What is the average number of machine cycles per instruction for this microprocessor?
b. What is the clock rate (machine cycles per second) required for this microprocessor to be a "1 MIPS" processor?
c. Suppose this system requires an extra 16 machine cycles to retrieve an operand from memory. It has to go to memory 30% of the time. What is the average number of machine cycles per instruction for this microprocessor, including its memory fetch instructions?

Â© BrainMass Inc. brainmass.com December 24, 2021, 8:49 pm ad1c9bdddf
https://brainmass.com/computer-science/memory-management/316260

Solution Preview

a. Average number of machine cycles per instruction for the microprocessor
= 17.5% * 2 + 12.5% * 4 + 35% * 8 + 20% * 12 + 15% * 16
= 0.175 * 2 + 0.125 * 4 + 0.35 * 8 + 0.20 ...

Solution Summary

Stepwise computations are shown.

\$2.49