r:jc, ‘:,I | I:,2 | ins | 04 | 05 | 06 | 0, | 08 | 09 | OA | 08 | OC | OD | OE | OF | |
10 | 11 | 1: | 13 | 14 | 15 | lb | 17 | 18 19 1A 18 1C 1D 1E 1F | |||||||
20 | 21 | 22 | 2: | 24 | 25 | 2.6 | 27 | 33 | 29 | 2A | X4 | 2C | 2D | ?E | 2F |
:o | Tl | :z1 | 73 | 1;4 | z:b | 5, | 7.8 | 39 | JA | 5B | TC | =D | 3E | 3F | |
4cr | 41 | 42 | 41: | 44 | 1s | 46 | 47 | 40 | 49 | 4A | 4H | 4C | 4D | 4E | 4F |
50 | 51 | 52 | ST, | 54 | 55 | 56 | 57 | 58 | 59 | 5A | 5B | 5C | 5D | 5E | 5F |
6061 62 h: 64 65 66 67 68 69 hf-i hH 6C hD hE 6F
‘In 71 7” 71: 74 75 7h 77 7R 79 7A 713 7C 7D 7E 7F
I?CI 31 8” UI: El4 515 E36 S7 88 89 EIA HB 8C SD SE BF
Yl? 01 92 7, 94 Y5 Y6 77 98 Y9 9A IB 9C ?D 9E 9F
Al.1 Al A” A.2 A4 A5 0.6 A7 6JH A9 AA A5 AC AD AE RI=
BO Rl I32 HZ 84 H5 56 Ei7 HE H9 BA bB BC BD BE BF
co c 1 c2 CJ C4 I:? Ch c7 C8 CY CA CB CC CD CE CF
DO Dl D‘ D’: D4 DS D6 D7 DE D9 DA DB DC DD DE DF
E1.I El E2 E3 t4 L5 Eh E7 E8 E9 EA EB EC ED EE EF
FO
101
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
|
| |
012345.5789: |
| : ::=:7 |
@AHCDEFGHI | ||
PQRSTUVWXYZC’\l; | _ | |
‘abcdefghl.lI.Imr~o |
|
|
pqrstuvwxy:( |
| I :“. |
................
................
................
................
................
................
................
. .
Most BASICS. however, are not quite that straight forward. For example, the
CM:,0, | i.,: | c.3.:I:,4 | Cl5 | 116 | ,:,7 | <:,a | 09 | OR OB OC OD I:],? OE | |||||||
OF | 10 | It | 1” | 1: | 14 | I’; | 16 | 17 | 18 | 19 | 18 | 1C | 1D | 1E | It= |
“1.1 2, | 22 | 2; | “4 | L’S | “6 | Z7 | 28 | 29 | 2A | =H | ZC | 2,j | =E | T‘F | |
|
|
|
|
| |||||||||||
:,,j | Tl | ;” | :,: | s4 | ,s | ,b | 58 | 59 | ;A | 38 | ;C | ;D | 3F | ||
40 | 41 | 4;’ | 4; | 44 | 45 | 46 | 47 | 48 | 49 | 4A | 4H | 4C | 4D | 4E | 4F |
50 | 51 | 52 | 37. | 54 | 55 | 56 | 57 | 58 | 59 | 5A | 5b | 5C | 5D | 5E | 5F |
60 | 61 | 62 | hf | 64 | 6’; | 66 | h? | 68 | 69 | hR | 6H | 6C | bD | 6E | hF |
7~ | 71 | 7” | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 7A | 7B | 7C | 7D | 7E | 7F |
El0 | 01 | a2 | 85 | 04 | ns | Hh | 87 | BE? | El9 | Q.0 | BB | 8C | 8D | HE | RF |
90 | 91 | 92 | 9; | 94 | 95 | Y6 | 97 | 98 | 99 | 912 | 95 | 9C | 9D | 9E | 9F |
A0 | Al | A: | fi: | fi4 | A5 | A6 | A0 | A9 | AA | OH | RC | AD | AE | AF | |
BC) | 81 | B2 | fi: | R4 | B5 | Bh | H7 | HE | B9 | HA | 85 | BC | HD | HE | HF |
co | Cl | c2 | c1: | C4 | c5 | Cb | [:7 | C8 | C9 | CA | CB | CC | CD | CE | CF |
D0 | Dl | D2 | D3 | D4 | D5 | D6 | D7 | DS D9 DA DB DC | DD | DE | DF | ||||
EC) | El | EL’ | E: | E4 | E5 | E6 | E7 | EEl | E9 | EA | EB | EC | ED | EE | EF |
IF0 | Fl | F2 | F; | F4 | F5 | Fb | F7 | FB | F9 | FA FB FC FD FE FF | |||||
QD | I:,,? |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
0123456789: |
| : ..I=‘:_’ |
BAHCDEFGHI | Jl | LMNO |
PCIRSTlJVWXYZC’\l. | _ | |
‘abcdefc~hl.1l.l.mno |
| |
~pqrStLlVW:.:Y: |
| : : : |
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
j Notice that your printer receives decimal code 13 (hex OD) together with hex OA, which is really decimal 10. In addition, your printer does not receive decimal code 26 (hex 1A).
Your printer prints 16 hex numbers per line, printing the characters on the right hand side. If it receives less than 16, it sits in a holding pattern, awaiting more data. Taking the printer off line dumps the’characters to the paper.
To debug a program quickly, just use the hex dump capa- bility. Appendix B will help you translate the hex codes to ASCII equivalents.