Appendix D – Binary Conversion Table
Some of the status reporting commands return an ASCII character
that must be converted to binary. To aid with the conversion process,
the following table converts all character used and some other
common ASCII symbols to decimal and binary. To also help in
working with the I/O port related commands, the table is extended to
a full byte, all 256 values.
Number
(decimal)
ASCII
Code
Binary
Code
0 Null 00000000
1 Soh 00000001
2 Stx 00000010
3 Etx 00000011
4 Eot 00000100
5 Enq 00000101
6 Ack 00000110
7 Bel 00000111
8 Bs 00001000
9 Tab 00001001
10 Lf 00001010
11 Vt 00001011
12 Ff 00001100
13 Cr 00001101
14 So 00001110
15 Si 00001111
16 Dle 00010000
17 Dc1 00010001
18 Dc2 00010010
19 Dc3 00010011
20 Dc4 00010100
21 Nak 00010101
22 Syn 00010110
23 Eth 00010111
24 Can 00011000
25 Em 00011001
26 Eof 00011010
27 Esc 00011011
28 Fs 00011100
29 Gs 00011101
30 Rs 00011110
Table D.1: Binary Conversion Table (using decimal and ASCII codes)
Appendix D – Binary Conversion Table D-1