Question: Q1) Given the following C code: B = A +D; E =D +F; Please use the following assumptions: $S1 for A, $S2 for D, $S3

Q1) Given the following C code: B = A +D; E =D +F; Please use the following assumptions: $S1 for A, $S2 for D, $S3 for E, $S4 for F and $t3 for the base address. Write the equivalent MIPS. Indicate if there are any stalls. If yes, how many stalls are there? (2) Given a cache memory of size 16 blocks (block 0000 to block 1111). Complete the following table to map a memory of size 64 blocks. Cache Memory Block: use decimal instead of hexadecimal block 0000 0001 1111
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
