Number Systems
Appendix B
B7
Figure B.6
HexadecimaltoDecimal Conversion
0 x 16
3
= 0
1 x 16
2
= 256
10 x 16
1
= 160
7 x 16
0
= 7
0
1
A
7
01A7
16
= 423
10
2
256
160
7
423
10
Because each hexadecimal digit represents 4 binary digits, it is easy to
convert a hexadecimal number to a binary number. This is done by writing
out the 4-bit pattern for each hexadecimal digit (Figure B.7).
Figure B.7
HexadecimaltoBinary Conversion
0
1
0
1
1
1
1
1
0
1
1
1
0
0
0
0
F
A
2
C
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com