SP10-hw1-sol

SP10-hw1-sol - XPRESS THE NUMBERS BELOW IN THE FOLLOWING...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
UC Davis 1 Hussain Al-Asaad U NIVERSITY OF C ALIFORNIA —D AVIS D EPARTMENT OF E LECTRICAL OMPUTER E NGINEERING EEC180A—D IGITAL S YSTEMS I Spring 20 10 P ROBLEM S ET 1—S OLUTION 1. P ROBLEM A.2 ( PART I ) Decimal 240 = Binary 1111 0000 = Hex F0 2. P ROBLEM A.3 ( PART F ) Binary 1110 0011 0011 0001 1000 = Hex E3318 3. P ROBLEM A.6 ( PART G ) Hex AB0 = Binary 1010 1011 0000 = (Base-4) 222300 4. P ROBLEM A.10 ( PART E ) (Base-10) 95 + (Base-3) 211 = ?? Converting 95 to Base-3 using successive division, we get (Base-10) 95 = (Base-3) 10112 So, (Base-10) 95 + (Base-3) 211 = (Base-3) 11100 5. P ROBLEM A.14 ( PARTS C AND D ) 6. P ROBLEM : E
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: XPRESS THE NUMBERS BELOW IN THE FOLLOWING 7-BIT FORMATS : SIGN & MAGNI-TUDE , ONE ’ S COMPLEMENT , AND TWO ’ S COMPLEMENT Decimal Sign & magnitude One’s Complement Two’s Complement +31 0000011111 0000011111 0000011111-30 1000011110 1111100001 1111100010-1 1000000001 1111111110 1111111111 1 0 1 1 2 2 1 1 1 1 1 0 0 + Decimal (-5) Decimal (-23) Decimal (-28) 1 1 1 0 1 1 1 0 1 0 0 1 1 1 0 0 1 0 0 + Decimal (-16) Decimal (+15) Decimal (-1) 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 + Discarded (c) (d)...
View Full Document

This note was uploaded on 04/25/2011 for the course EEC 180A taught by Professor Redinbo during the Spring '08 term at UC Davis.

Ask a homework question - tutors are online