I. Which of the following is correct for a load instruction? Refer to Figure 4.10. a.MemtoReg should
Question:
I. Which of the following is correct for a load instruction? Refer to Figure 4.10.
a. MemtoReg should be set to cause the data from memory to be sent to the register file.
b. MemtoReg should be set to cause the correct register destination to be sent to the register file.
c. We do not care about the setting of MemtoReg for loads.
II. The single-cycle datapath conceptually described in this section must have separate instruction and data memories, because
a. the formats of data and instructions are different in MIPS, and hence different memories are needed.
b. having separate memories is less expensive.
c. the processor operates in one clock cycle and cannot use a single-ported memory for two different accesses within that clock cycle.
Figure 4.10
Step by Step Answer:
Computer Organization And Design MIPS Edition The Hardware/Software Interface
ISBN: 9780128201091
6th Edition
Authors: David A. Patterson, John L. Hennessy