Assn7Soln - CDA 3101 Assignment 7 Due in class on Thursday,...

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

View Full Document Right Arrow Icon
CDA 3101 Assignment 7 Due in class on Thursday, Nov. 16 Turn hardcopy in class, stapled, with your name and “CDA 3101 Assignment 7” clearly written on it. Important: For some of the problems below, I have provided figures (Figures 5.17, 5.18 and 5.13 from the textbook) that you need to make additions/changes to. Use a ruler and a RED pen to make any changes/additions to these figures, so that the changes are clearly visible. In case, you make a mistake, I suggest you start with a clean figure. Also, clearly write (in a numbered list) what changes/additions you have made to the figures and why (Please feel free to use extra pages for this). 1. Problem 5.3 from the textbook. a. RegWrite = 1: sw and beq should not write results to the register file. sw (beq) will overwrite a random register with either the store address (branch target) or random data from the memory data read port. b. ALUop0 = 1:lw and sw will not work correctly because they will perform subtraction instead of the addition necessary for address calculation. c. ALUop1 = 1: lw and sw will not work correctly. lw and sw will perform a random peration depending on the least significant bits of the address field instead of addition operation necessary for address calculation. d. Branch = 1: Instructions other than branches (beq) will not work correctly if the
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/02/2009 for the course CDA 3101 taught by Professor Small during the Spring '08 term at University of Florida.

Page1 / 6

Assn7Soln - CDA 3101 Assignment 7 Due in class on Thursday,...

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