hw4_soln

# hw4_soln - Rice University ELEC 220 Fundamentals of...

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

Rice University ELEC 220 – Fundamentals of Computer Engineering Homework #4 Homework graded out of 100 points. This fourth homework contains problems from Chapters 4 and 5 of the textbook by Patt & Patel, second edition. 1. (20 points, (a) 4, (b) 8, (c) 4, (d) 4)). Chapter 4, problem 4.5. Interpreting values in memory. (a) Location 3 contains 0000 0000 0000 0000 Location 6 contains 1111 1110 1101 0011 (b) i. Two’s Complement - Location 0: 0001 1110 0100 0011 = 7747 Location 1: 1111 0000 0010 0101 = -4059 ii. ASCII - Location 4: 0000 0000 0110 0101 = 101 = ‘e’ iii. Floating Point - Locations 6 and 7: 0000 0110 1101 1001 1111 1110 1101 0011 Number represented is 1.10110011111111011010011 x 114 2 - iv. Unsigned - Location 0: 0001 1110 0100 0011 = 7747 Location 1: 1111 0000 0010 0101 = 61477 (c) Instruction - Location 0: 0001 1110 0100 0011 = Add R7 R1 R3 (d) Memory Address - Location 5: 0000 0000 0000 0110 Refers to location 6. Value stored in location 6 is 1111 1110 1101 0011 2. (15 points.) Chapter 4, problem 4.10. Instruction phases and component use. Refer to the following table: Fetch Instruction Decode Evaluate Address Fetch Data Execute Store Result PC 0001, 0110, 1100 1100 IR 0001, 0110, 1100 MAR 0001, 0110, 1100 0110 MDR 0001, 0110, 1100 0110

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

View Full Document
3. (15 points.) Chapter 4, problem 4.16. Machine cycles and timing and pipelines.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern