Lec1 Digitalsystem Chap1
Lec1 Digitalsystem Chap1
… a5a4a3a2a1.a1a2a3… aj
Decimal point Power
105 a5 104 a4 103 a3 102 a2 101 a1 100 a0 101 a1 102 a2 103 a3
Example:
Special Powers of 2
• Multiplication
The binary multiplication table is simple:
00=0 | 10=0 | 01=0 | 11=1
Extending multiplication to multiple digits:
Multiplicand 1011
Multiplier 101
Partial Products 1011
0000 -
1011 - -
Product 110111
Number-Base Conversions
Example1.3
Convert (0.6875)10 to binary.
The process is continued until the fraction becomes 0 or until the number of digits has
sufficient accuracy.
Number-Base Conversions
Example1.3
(10 110 001 101 011 . 111 100 000 110) 2 = (26153.7406)8
2 6 1 5 3 7 4 0 6
Conversion from binary to hexadecimal is similar, except that the binary number is
divided into groups of four digits:
Example:
Example 1.6
Using 10's complement, subtract 3250 – 72532
■ BCD Addition
Binary Codes
Example:
Consider the addition of 184 + 576 = 760 in BCD:
■ Decimal Arithmetic
Binary Codes
■ Gray Code
Fig. 1.5
Input-Output signals
for gates
Binary Logic
■ Logic gates
Graphic Symbols and Input-Output Signals for Logic gates: