Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A program contains 3 types of instructions - addition, subtraction and division. Addition takes 5 clock cycles, subtraction also takes 8 clock cycles, and division

image text in transcribed
A program contains 3 types of instructions - addition, subtraction and division. Addition takes 5 clock cycles, subtraction also takes 8 clock cycles, and division takes 15 clock cycles. In this program, 30% of the instructions are addition, 25% of the instructions are subtraction, and the rest of the instructions are division. What is the Clocks Per Instruction (CPI)? (3 point 3 ) The program above takes 15 seconds to run on a 2.4GHz processor. How many instructions the program has? (4 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Bioinformatics Databases And Systems

Authors: Stanley I. Letovsky

1st Edition

1475784058, 978-1475784053

More Books

Students also viewed these Databases questions