Note that for each of the decimal numbers listed, there is a hex and binary equivalent. As an
example, it can be seen that 12
10
= 1100
2
= C
16
.
DECIMAL BINARY
HEX
DECIMAL BINARY HEX
0
10
0
2
0
16
0
10
0000
2
0h
1
10
1
2
1
16
1
10
0001
2
1h
2
10
10
2
2
16
2
10
0010
2
2h
3
10
11
2
3
16
3
10
0011
2
3h
4
10
100
2
4
16
4
10
0100
2
4h
5
10
101
2
5
16
5
10
0101
2
5h
6
10
110
2
6
16
6
10
0110
2
6h
7
10
111
2
7
16
7
10
0111
2
7h
8
10
1000
2
8
16
8
10
1000
2
8h
9
10
1001
2
9
16
9
10
1001
2
9h
10
10
1010
2
A
16
10
10
1010
2
Ah
11
10
1011
2
B
16
11
10
1011
2
Bh
12
10
1100
2
C
16
12
10
1100
2
Ch
13
10
1101
2
D
16
13
10
1101
2
Dh
14
10
1110
2
E
16
14
10
1110
2
Eh
15
10
1111
2
F
16
15
10
1111
2
Fh
TABLE A-2
TABLE
A-3
Bytes and Nibbles
Before learning how to use hexadecimal to read binary data,
it's important to know that this data is often grouped in
packets
called
bytes
. A
byte
is a group of 8 bits that are linked
together. A
nibble
is half that amount – that is,
half a byte,
or
4 bits
. The
nibble
will be the smallest packet of data you'll
encounter in your work with the system.
Note the slight differences between the two tables. Table A-3 is
important because it expresses all sixteen binary numbers as
nibbles
by "padding" zeroes in front of those numbers having
fewer than four bits. You'll soon see how this technique permits
binary digits to be easily expressed in hexadecimal. Also in
Table A-3, note how the subscript
16
has been replaced with a
lowercase "h" to denote
hexadecimal numbers. Both these
formats will be used throughout the text to express hex
numbers.
Page A-3 Appendix A: Understanding Binary
CP-220A Central Station Receiver
and Hexadecimal Numbering Systems Hook-Up and Installation Manual