# Average machine cycles per instruction and clock rate

Not what you're looking for?

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?

##### Purchase this Solution

##### Solution Summary

Stepwise computations are shown.

##### 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 ...

##### Purchase this Solution

##### Free BrainMass Quizzes

##### Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

##### Javscript Basics

Quiz on basics of javascript programming language.

##### Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

##### C# variables and classes

This quiz contains questions about C# classes and variables.

##### Basic Networking Questions

This quiz consists of some basic networking questions.