retagged by
330 views

1 Answer

0 votes
0 votes
acc to me ans should be like this..

for register: (0.10*1)=0.10 cycles

for immediate= it should be zero

for direct = 0.30*2 =0.60 cycles (becz 1 mem ref and for 1 mem ref 2 cycles are required)

mem indirect= 0.20*4=0.80cycles

index = 0.20*6=1.2cycles

now 0.10+0.60+0.80+1.2 =2.7 cycles

1cycle required 1ns time

so Tavg =2.7 ns

1 instruction time =2.7 ns

so in 1 sec=1/2.7 ns

that is 370.37 million

Related questions

1 votes
1 votes
1 answer
1
0 votes
0 votes
0 answers
2
Devshree Dubey asked Mar 19, 2019
499 views
Please can anyone help me how to measure the CPU Performance and everything related with it.
0 votes
0 votes
0 answers
3
Alina asked Jan 3, 2019
461 views
Find CPU time of computer with 500 MHz and following class distribution for program with 100 instructions.Class CPI Frequency1 3 40%2 ...
1 votes
1 votes
0 answers
4
karan0908 asked Aug 23, 2018
319 views
I am confused whether to count the IPC given in the question or not as Each binary is running for same number of cycles why to count them, please provide a solution with ...