Question: uppose this program is executing on a 3 2 - bit processor with a direct - mapped cache with parameters ( m , S ,

uppose this program is executing on a 32-bit processor with a direct-mapped cache with parameters (m, S, E, B)=(32,8,1,8). We make the following additional assumptions:
An int is 4 bytes wide.
sum1, sum2, result, and i are all stored in registers.
data is stored in memory starting at address 0x0.
Answer the following questions:
a) Consider the case where N is 16. How many cache misses will there be?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!