25
Appendix B - Binary to HEX Conversion
Hexadecimal digits have values from 0..15, represented as 0...9, A (for 10),
B (for 11) ... F (for 15). The following table can serve as a conversion chart
bin - dec. - hex:
B.1. Bin/DEC/Hex Table
Decimal
Binary
Hexadecimal
0
0000
0
1
0001
1
2
0010
2
3
0011
3
4
0100
4
5
0101
5
6
0110
6
7
0111
7
8
1000
8
9
1001
9
10
1010
A
11
1011
B
³
1100
C
13
1101
D
14
1110
E
15
1111
F
Figure C-1
To convert a binary value to a hexadecimal representation, the upper and lower four bits
are treated separately, resulting in a two-digit hexadecimal number.