This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Fall 2009-2010 CSSE 232 CSSE 232 – Computer Architecture I Rose-Hulman Institute of Technology Computer Science and Software Engineering Department Homework 4 Solutions 1. (10 points) (a) RegWrite = 0 : All R-format instructions, in addition to lw , will not work because these instructions will not be able to write their results to the register file. (b) ALUop1 = 0 : All R-format instructions except subtract will not work correctly because the ALU will perform subtract instead of the required ALU operation. (c) ALUop0 = 0 : beq instruction will not work because the ALU will perform addition instead of subtraction (see Figure 5.12), so the branch outcome may be wrong. (d) Branch (or PCSrc) = 0 : beq will not execute correctly. The branch instruction will always be not taken even when it should be taken. (e) MemRead = 0 : lw will not execute correctly because it will not be able to read data from memory....
View Full Document