hw4_soln

hw4_soln - Rice University ELEC 220 Fundamentals of...

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

View Full Document Right Arrow Icon
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.
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 04/07/2008 for the course ELEC 220 taught by Professor Cavallaro during the Spring '08 term at Rice.

Page1 / 2

hw4_soln - Rice University ELEC 220 Fundamentals of...

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