WI12-hw1-sol

WI12-hw1-sol - TUDE ONE’S COMPLEMENT AND TWO’S...

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 Winter 2012 P ROBLEM S ET 1—S OLUTION 1. PROBLEM A.2 (PART F ) Decimal 798 = Octal 1436 2. PROBLEM A.3 (PART E ) Binary 1111 0011 = Hex F3 3. PROBLEM A.10 (PART C ) (Base-16) 10A + (Base-8) 201 = ?? Converting 201 to Base-16, we get (Base-8) 201 = (Base-2) 010000001 = (Base-16) 81 So, (Base-16) 10A + (Base-8) 201 = (Base-16) 18B 4. PROBLEM A.14 (PARTS D AND E ) 5. PROBLEM: EXPRESS THE NUMBERS BELOW IN THE FOLLOWING 12-BIT FORMATS: SIGN & MAGNI-
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: TUDE, ONE’S COMPLEMENT, AND TWO’S COMPLEMENT Decimal Sign & magnitude One’s Complement Two’s Complement +31 000000011111 000000011111 000000011111-63 100000111111 111111000000 111111000001-1 100000000001 111111111110 111111111111-100 100001100100 111110011011 111110011100 1 0 A 8 1 1 8 B + Decimal (-16) Decimal (+15) Decimal (-1) 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 + Decimal (-14) Decimal (-2) Decimal (-16) 1 1 0 0 1 0 1 1 1 1 1 0 1 1 1 0 0 0 0 + Discarded (d) (e) 1 1 1 1 1...
View Full Document

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

Ask a homework question - tutors are online