Below are examples of how strings of binary data can be
reduced in size for ease of viewing and interpretation.
Understanding this is the vital link in translating system
messages that are displayed in various menu selections.
Table A-5 offers some comparisons between binary data strings
and their hexadecimal equivalents. For ease of reading, the
binary data has been grouped as
nibbles.
However, don't
assume that a break or pause actually exists between nibbles of
data as they are being transmitted.
Use Table A-4 to associate the binary nibbles in Table A-5 with
the hex characters that correspond to them.
TABLE A-4
BINARY HEX
0000
2
0h
0001
2
1h
0010
2
2h
0011
2
3h
0100
2
4h
0101
2
5h
0110
2
6h
0111
2
7h
1000
2
8h
1001
2
9h
1010
2
Ah
1011
2
Bh
1100
2
Ch
1101
2
Dh
1110
2
Eh
1111
2
Fh
HEX NUMBER
"PADDED"
EQUIVALENT
105h 0001 0000 0101
2
3BAFh 0011 1011 1010 1111
2
0Fh 0000 1111
2
NOTE: The (*) appears next to data that is
not a multiple of 4 bits and therefore
ends with an incomplete nibble. In these cases, we usually "pad" such data with
leading (and "invisible") zeroes in the most significant bit positions. Notice how, in
each case marked with the (*), the first hex character used to represent the
number takes into account the "padding" of these bit positions. The example
using 105h shows this "padding," but the other asterisked lines do not.
Before attempting to convert the remaining (*) lines, you must break them into
"nibbles," starting at the
least significant bit, and "pad" them with the appropriate
number of zeroes at the
most significant bit. Refer to the table at the left in which
"padded" zeroes are underlined.
CP-220A Central Station Receiver Appendix A: Understanding Binary Page A-4
Hook-Up and Installation Manual
and Hexadecimal Numbering Systems
TABLE A-5
BINARY DATA
HEX EQUIVALENT
0010 1000
28h
0111 1001
79h
0101 0110 1010
56Ah
1100 1000 1101 0100
C8D4h
1111 0000 0001 1110
F01Eh
0000 1101 1010
ODAh
1111 1111 1111 1111
FFFFh
1011 1000 1101 1110 0101
B8DE5h
0001 0010 0011 0100
1234h
0111 1111 1010 1001 0011
7FA93h
1111 1110 1101 1100
FDECh
1100 1010 1011
CABh
[000] 1000 0010 1 *
105h
1110 1110 1011 11 *
3BAFh
0001 111 *
0Fh
0000 0000 0000 0011
0003h