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

Instruction Read register 1 Read register 2 Registers Read data 2 Write register Write data RegWrite Read

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: