Question: A program has 10 addition, 6 multiplication and 4 shift instructions. It is being run on a processor which takes 1 cycle to perform addition,

A program has 10 addition, 6 multiplication and 4 shift instructions. It is being run on a processor which takes 1 cycle to perform addition, 4 cycles to perform an multiplication and 2 cycles to perform shift instruction. What are the average cycles per instruction for the program?

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!