ECE251 hw2 - sol

# ECE251 hw2 - sol - NEW JERSEY INSTITUTE OF TECHNOLOGY DEPT...

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

NEW JERSEY INSTITUTE OF TECHNOLOGY ACADEMIC YEAR 2010-2011 SEMESTER 1 ECE251 DIGITAL DESIGN SOLUTION HW2 1. We have: (a) Long division: Therefore, the 2’s complement representations of +66 and –66 using 8-bits are: 01000010 ) 66 ( 10 = , 10111110 ) 66 ( 10 = - (b) Long division: Therefore, ( 29 00100110 38 10 = . (c) Long division: 1 6 6 0 3 3 1 1 6 0 8 0 4 0 2 0 1 1 0 3 8 0 1 9 1 9 1 4 0 2 0 1 1 0 7 2 0 3 6 0 1 8 0 9 1 4 0 2 0 1 1 0

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

View Full Document
( 29 01001000 72 10 = , ( 29 10111000 72 10 = - . (d) Long division: Therefore, ( 29 00110111 55 10 = . 2. From Pb. 1 we have: ( 29 00110111 55 10 = + , ( 29 11001001 55 10 = - ( 29 01001000 72 10 = + , ( 29 10111000 72 10 = - The addition: Expected The result is 127 1 2 7 = - , as expected. Expected Carries Discard overflow bit The result is 00010001 as expected ( 1 2 4 + ). 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

ECE251 hw2 - sol - NEW JERSEY INSTITUTE OF TECHNOLOGY DEPT...

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

View Full Document
Ask a homework question - tutors are online