Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A program contains two types of instructions. 62% of the instructions are type-A instructions, and the rest are type-B instructions. Type-A instructions have an
A program contains two types of instructions. 62% of the instructions are type-A instructions, and the rest are type-B instructions. Type-A instructions have an execution time of 4 microseconds each, and type-B instructions have an execution time of 4 microseconds each. If this program is run on a computer with a clock frequency of 2 MHz, how many clock cycles per instruction will be spent on the average? Give your answers with 2 digit fraction part after the decimal point. ***If you are using moodle in Turkish then you must use "," (comma) as a radix point. If you are using moodle in English then you must use "." (dot) as a radix point. To check which radix is correct for your system use the radix point you see in this fractional number 99,99
Step by Step Solution
There are 3 Steps involved in it
Step: 1
To calculate the average clock cycles per instruction we need to consider the execution time of ea...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started