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

Info icon This 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.
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern