csse232_hw4_soln

csse232_hw4_soln - Fall 2009-2010 CSSE 232 CSSE 232 –...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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

{[ snackBarMessage ]}

Page1 / 2

csse232_hw4_soln - Fall 2009-2010 CSSE 232 CSSE 232 –...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online