Question: A program contains 4 types of instructions - addition, subtraction, multiplication, and division. Addition takes 5 clock cycles, subtraction also takes 8 clock cycles, multiplication
A program contains types of instructions addition, subtraction, multiplication, and division. Addition takes clock cycles, subtraction also takes clock cycles, multiplication takes clock cycles, and division takes clock cycles. In this program, of the instructions are addition, of the instructions are subtraction, of the instructions are multiplication, and the rest of the instructions are division.
What is the Clocks Per Instruction CPI points
The program above takes seconds to run on a GHz processor. How many instructions the program has? points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
