Escolar Documentos
Profissional Documentos
Cultura Documentos
Binary to Decimal
Conversion
Convert
binary to decimal by
summing the positions that
contain a 1.
1 0 0 1 0 12
25 2 4 23 2 2 21 20 32 4 1 3710
Decimal to Binary
Conversion
Decimal to Binary
Conversion
3710 2 0 0 2 0 2
5
12
Decimal to Binary
Conversion
Repeated
division steps:
division
This flowchart
describes the
process and can
be used to convert
from decimal to
any other number
system.
Hexadecimal Number
System
Hexadecimal Number
System
Convert
Hexadecimal Number
System
Convert
Hexadecimal Number
System
Decimal
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Hexadecimal 0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Binary
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Example
of hex to binary
conversion:
9F216 = 9
F
2
1001 1111 0010 =
1001111100102
Hexadecimal Number
System
Convert
Example
Hexadecimal Number
System
Hexadecimal
is useful for
representing long strings of bits.
Understanding the conversion
process and memorizing the 4 bit
patterns for each hexadecimal
digit will prove valuable later.
Binary Addition
Binary
Representing Signed
Numbers
Since
Representing Signed
Numbers
In
Representing Signed
Numbers
Multiplication of Binary
Numbers
This
is similar to multiplication of
decimal numbers.
Each bit in the multiplier is multiplied
by the multiplicand.
The results are shifted as we move
from LSB to MSB in the multiplier.
All of the results are added to obtain
the final product.
Binary Division
This
Hexadecimal Arithmetic
Hex
addition:
BCD
Binary
BCD
To
8 7
4
0100 0111 0100 = 010001110100BCD
Each
BCD
BCD
Gray Code
The
Gray Code
Binary
000
001
010
011
100
101
110
111
Gray Code
000
001
011
010
110
111
101
100
byte = 8 bits
1 nibble = 4 bits
1 word = size depends on data
pathway size.
Word size in a simple system may be
one byte (8 bits)
Word size in a PC is eight bytes (64
bits)
Alphanumeric Codes
Represents
Electrical
2-10 Applications
A