615 For the following data what is the average number of cyc
[6.15] For the following data, what is the average number of cycles per instruction?
Operation Frequency Cycles
Arithmetic/logical operations 45% 1
Register load operations 18% 5
Register store operations 10% 2
Unconditional branch instructions 7% 1
Conditional branch instructions 20% 6
A) 3.65
B)2.82
C)1.87
D)2.10
Solution
Average number of cycles= 0.45 *1 + 0.18 *5 + 0.1 *2 + 0.07*1 + 0.2*6
0.45+0.9+0.2+0.07+1.2
=2.82
![[6.15] For the following data, what is the average number of cycles per instruction? Operation Frequency Cycles Arithmetic/logical operations 45% 1 Register loa [6.15] For the following data, what is the average number of cycles per instruction? Operation Frequency Cycles Arithmetic/logical operations 45% 1 Register loa](/WebImages/8/615-for-the-following-data-what-is-the-average-number-of-cyc-997260-1761513363-0.webp)