Professional Documents
Culture Documents
COE211 CH1 Introduction
COE211 CH1 Introduction
COE211 CH1 Introduction
Introduction
Digital Computer Systems
● Digital systems consider discrete amounts of data
● Examples
● 26 letters in the alphabet
● 10 decimal digits
MSB LSB
10/5/2021 COE211: Digital Logic Design 8
Convert a Fraction from Decimal to Another Base
For each digit position:
1. Multiply decimal number by the base (e.g. 2)
2. The integer is the highest-order digit
3. Repeat first two steps until fraction becomes zero
MSB LSB
10/5/2021 COE211: Digital Logic Design 9
Conversion Between Base 16 and Base 2
● Conversion is easy!
Determine the 4-bit value for each hex digit
● Note that there are 16 different values of four bits
● Easier to read and write in hexadecimal
● Representations are equivalent!
000011002 = 1210
100011002 = −1210
Ignore
Ignore
Carry
10/5/2021 COE211: Digital Logic Design 24
2’s Complement Subtraction (Cont’d)