ENGR 325 HOMEWORK #4 KEY
1. (5) Consider the following instruction (P&H 4.1, §4.1): Instruction: AND Rd, Rs, Rt Interpretation: Reg[Rd] = Reg[Rs] AND Reg[Rt] a. What are the values of the control signals generated by the control in Figure 4.2 in the text for the above instruction? b. Which resources (blocks) perform a useful function for this instruction? c. Which resources (blocks) produce outputs, but their outputs are not used for this instruction? Which resources produce no outputs for this instruction? SOLUTION: a. Refer to control signals in Figure 4.2 in the text. REGWRITE = 1 MEMREAD = 0, MEMWRITE = 0 ALU Input Mux: selects register file data (0 – defined in Figure 4.15) ALU Operation: AND (control format not defined) Branch = 0
Written for
- Institution
-
Calvin College
- Course
-
ENGR 325
Document information
- Uploaded on
- July 2, 2022
- Number of pages
- 4
- Written in
- 2021/2022
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
Also available in package deal