{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# quiz 2 sol - EEL3801 Computer Organization NAME Pop Quiz#2...

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

Page 1 of 2 EEL3801: Computer Organization Pop Quiz #2 - February 10, 2010 NAME:________________________ SIGNATURE:_____________________________ PID:_____________________ Closed books, closed notes, no crib sheets. Only non-programmable 4-function calculators are allowed. Show all your work and circle your final answer. All papers will be collected at 9:20AM. 1. Given an 8-bit word width. Consider the decimal (i.e. base ten) number X = -105, i.e. [negative one hundred five] base ten. a) Express X in Sign Magnitude format. [10 pts] Ans.: 105 as an unsigned binary 8-bit number is 01101001. So, inverting the sign bit yields 11101001. b) Express X in One’s Complement format. [10 pts] Ans.: 105 as an unsigned binary 8-bit number is 01101001. So, bitwise inversion yields 10010110. c) Express X in Two’s Complement format. [10 pts] Ans.: 105 as an unsigned binary 8-bit number is 01101001. So, bitwise inversion yields 10010110 to which one is added to yield 10010111. 2.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

quiz 2 sol - EEL3801 Computer Organization NAME Pop Quiz#2...

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

View Full Document
Ask a homework question - tutors are online