oc, | 0 1 | 0: | 0 1. | 01 | ,:,s | 06 | 0, | 08 | 09 | OR | OB OC OD OE OF | ||||
10 | 11 | 12 | 1‘1 | 14 | 15 | 16 | 17 | 18 | 19 | 1A | 16 | 1C | 1D | 1E | 1F |
“0 | >1 | :: | 2; | 24 | 25 | 26 | 2, | 28 | 29 | 2B | 2C | 2D | 2E | 2F | |
T.0 | ;l | 52 | 3; | 74 | :5 | ?6 | ;7 | =a | z9 | xl | TB 3C 5D | ‘;E | 3F | ||
40 | 41 | 42 | 4; | 44 | 45 | 46 | 47 | 48 | 49 | 4A | 4B | 4C | 4D | 4E | 4F |
51.1 | 51 | 52 | 5: | 54 | 55 | 56 | 57 | 58 | 59 | SA | JR | SC | 5D | SE | 5F |
61.1 | 61 | 62 | 62: | 64 | 65 | 66 | 67 | 68 | 69 | 6A | 66 | 4C | 6D | 6E | 6F |
717 | 71 | 72 | 7 | 74 | 75 | 76 | 77 | 78 | 79 | 7A | 7B | 7C | 7D | 7E | 7F |
I?‘:1 | 81 | 82 | UT | 84 | 82 | 87 | 88 | 89 | 8A | 85 | DC | ED | DE | SF | |
90 | $1 | 7: | 5‘: | 94 | 9s | Vh | 97 | 98 | 99 | SA | 96 | 9C | 9D | YE 9F | |
At.1 | Rl | A2 | iI; | A4 | A5 | A6 | A? | 08 | RV Gf? AH | AC | AD | AE | RI- | ||
50 | 61 | 62 | 6I | 64 | BS | 66 | B7 | 58 | 69 | BA | 56 | HC | BD | HE | BF |
CC) | Cl | C: | C? | C’I | C5 | C6 | C7 | CD C9 | CR | CH | CC | CD | CE | CF | |
IIt- | Dl | D’:x | D: | I!4 | D5 | D6 | D7 | DS DV DA | DB | DC | DD DE DF | ||||
EC1 | EL | EZ ES E4 f:;: Eb E7 | EB | E9 | EA | EIH | EC | ED EE EF | |||||||
FI | F: | F9 | F6 | F8 | F9 | FA | F6 | FC | FD | FE | FF | ||||
IO!3 | OA |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
‘“#%%8’ | 0 | / | |
01?3456789: |
| :‘.= | |
OABCDEFGHI |
| ||
FQKSTlJVWXYZC\ | I’ | _ | |
“abcdefqhl.11 |
| lmroo | |
pqrstuvw:.:y~C: | :“. |
|
. . . . . . . . . . . . . . . .
................
................
................
................
................
................
. .
Most BASICS, however, are not quite that straight forward. For example, the
00 | I:11 (‘2 | c.,; | 01 | 0% | l.,b | c7 | ,:,8 I:,? | Ofi | 06 | OC | OD | On | Ok | ||
OF | 10 | I1 | 12 | 17 | 14 | 15 | 16 | 17 | 18 | 19 | 18 | IC | 1D | 1E | 1F |
L’v | L’J | ,,‘S | Zb | 2s | 29 | 2A | 26 | 2C 2D | 2E | 2F | |||||
|
|
|
|
| ^I | ||||||||||
I,) | 51 | T.”- | 7.4 | 7’5 | 36 | ;7 | 7.8 | 39 | SR | 36 | ;C | ;D | =E | :F | |
40 | 41 | 42 | 41 | 44 | 45 | 46 | 47 | 48 | 49 | 4A | 4B | 4C | 4D | 4E | RF |
50 | 51 | 52 | 57. | 54 | 55 | 56 | 57 | 58 | 59 | SA | 58 | SC | 5D | 5E | 5F |
60 | 61 | 62 | 63 | 64 | 65 | 66 | b7 | 6B | 69 | 6R | 6B | 6C | 6D | 6E | ht |
70 | 71 | 7’2 | 7, | 74 | 76 | 77 | 70 | 79 | 7A | 76 | 7C | 7D | 7E | 7F | |
00 | 01 | 8” | 82 | 84 | 85 | 86 | 87 | El8 | EIY | HA | 86 | 8C | SD | BE | RF |
90 | 91 | 92 | 9; | 94 | 95 | 96 | 97 | 90 | 99 | 9G | 9H | 9C | 9D | 9E | ?F |
A0 | Al | A? | 0: | A4 | iA5 | 06 | R7 | AU | ~9 | nn | ~5 | nc | 69~7RE | w | |
60 | Bl | 62 | 63 | 84 | 65 | Hh | H7 | 68 | H9 | BA | 55 | RC | BD | HE | HF |
co | Cl | c2 | CT | C4 | CS | Cb | C7 | C8 | CY | CR | CH | CC | CD | CE | CF |
DO | Dl | DZ | D3 | D4 | D5 | D6 | D7 | D8 | D9 | DA | DH | DC | DD | DE | DF |
E3 | El | EZ | E3 | E4 | E5 | E6 | E7 | E8 | EV | EA | EB | EC | ED | EE | EF |
IF0 | Fl | FZ | F.7 | F4 | F5 | F6 | F7 | FB | F9 | FA | FH | FC | FD | FE | FF |
OD | OR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. . . . . . . . . . . . . . . .
“‘#B%%
I@AHCI)EFGtiI Jl l.tlNO POHSTUVWXYZL‘l.._
lpqr5tuvwxyz: I : *.
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
,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.