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
Geschreven voor
- Instelling
- Calvin College
- Vak
- ENGR 325
Documentinformatie
- Geüpload op
- 2 juli 2022
- Aantal pagina's
- 4
- Geschreven in
- 2021/2022
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
engr 325 homework 4 key
-
engr 325
Ook beschikbaar in voordeelbundel