Professional Documents
Culture Documents
CH 1 Number Systems and Conversions - 1
CH 1 Number Systems and Conversions - 1
CH 1 Number Systems and Conversions - 1
EE & IT AU
Hasan Zidan
1
Outline
2
Digital Systems Vs. Analog Systems
Digital systems
Used in computation and data processing, control
systems, communications, and measurements.
3
Design of Digital Systems
Top-Down Approach
Systems Design
Digital Computer
Logic Design
Gates, SSI, latches, Flip-Flop’s OUR GOAL
Circuit Design
Resistors, Diodes, and Transistors
4
Numbering Systems
• The Decimal system (Base 10) is the most familiar to
all of us. A digit in Base 10 ranges from 0 to 10-1 (9).
5
Binary Representation
Binary to Decimal
1011.112 = 1*23 + 0*22 + 1*21 + 1*20 + 1*2-1 + 1*2-2
= 8 + 0 + 2 + 1 + 0.5 + 0.25
= 11.75
Hex to Decimal
A2F16 = 10*162 + 2*161 + 15*160
= 10 * 256 + 2 * 16 + 15 * 1
= 2560 + 32 + 15 = 2607
8
Conversion of Decimal No. to ANY Base
Divide Number N by base R until quotient is 0.
Remainder at EACH step is a digit in base R, from Least
Significant digit to Most significant digit.
Convert 53 to Binary
53/2 = 26, rem = 1 Least Significant Digit
26/2 = 13, rem = 0
13/2 = 6 , rem = 1
6 /2 = 3, rem = 0
3/2 = 1, rem = 1
Most Significant Digit
1/2 = 0, rem = 1
53 = 110101
= 1*25 + 1*24 + 0*23 + 1*22 + 0*21 + 1*20
= 32 + 16 + 0 + 4 + 0 + 1 = 53 9
LSD & MSD
53 = 110101
10
More Conversions
53/16 = 3, rem = 5
3 /16 = 0 , rem = 3
5310 = 3516
= 3 * 161 + 5 * 160
= 48 + 5
= 5310
11
Hex (base 16) to Binary Conversion
13