73.6k views
0 votes
Assume that instructions executed by the processor are broken down as follows: R-format - 40% beq – 20% lw – 25% sw – 15% What percentage of instructions utilizes the data memory (in the MEM stage)?

User Vaelus
by
6.5k points

1 Answer

1 vote

Answer:

40% of instructions utilizes the data memory.

Step-by-step explanation:

The MEM stage is where data is written and/or read from memory.

The LW instruction loads data from the data memory through a specified address and the SW instruction stores data to a specified address on the data memory. The LW instruction is 25% and the SW instruction is 15% which sums it up to a total of 40% instructions using the data memory.

User Brotcrunsher
by
5.8k points