Appendix E – ASCII Conversion
Appendix E – ASCII Conversion
ASCII Conversion Chart
CTRL | CODE | HEX | DEC | CODE | HEX | DEC | CODE | HEX | DEC | CODE | HEX | DEC | |
@ | NUL | 00 | 0 | SP | 20 | 32 | @ | 40 | 64 | ` | 60 | 96 | |
A | SOH | 01 | 1 | ! |
| 21 | 33 | A | 41 | 65 | a | 61 | 97 |
B | STX | 02 | 2 | " |
| 22 | 34 | B | 42 | 66 | b | 62 | 98 |
C | ETX | 03 | 3 | # |
| 23 | 35 | C | 43 | 67 | c | 63 | 99 |
D | EOT | 04 | 4 | $ |
| 24 | 36 | D | 44 | 68 | d | 64 | 100 |
E | ENQ | 05 | 5 | % |
| 25 | 37 | E | 45 | 69 | e | 65 | 101 |
F | ACK | 06 | 6 | & |
| 26 | 38 | F | 46 | 70 | f | 66 | 102 |
G | BEL | 07 | 7 | ' |
| 27 | 39 | G | 47 | 71 | g | 67 | 103 |
H | BS | 08 | 8 | ( |
| 28 | 40 | H | 48 | 72 | h | 68 | 104 |
I | HT | 09 | 9 | ) |
| 29 | 41 | I | 49 | 73 | i | 69 | 105 |
J | LF | 0A | 10 | * |
| 2A | 42 | J | 4A | 74 | j | 6A | 106 |
K | VT | 0B | 11 | + |
| 2B | 43 | K | 4B | 75 | k | 6B | 107 |
L | FF | 0C | 12 | , |
| 2C | 44 | L | 4C | 76 | l | 6C | 108 |
M | CR | 0D | 13 | - |
| 2D | 45 | M | 4D | 77 | m | 6D | 109 |
N | SO | 0E | 14 | . |
| 2E | 46 | N | 4E | 78 | n | 6E | 110 |
O | SI | 0F | 15 | / |
| 2F | 47 | O | 4F | 79 | o | 6F | 111 |
P | DLE | 10 | 16 | 0 |
| 30 | 48 | P | 50 | 80 | p | 70 | 112 |
Q | DC1 | 11 | 17 | 1 |
| 31 | 49 | Q | 51 | 81 | q | 71 | 113 |
R | DC2 | 12 | 18 | 2 |
| 32 | 50 | R | 52 | 82 | r | 72 | 114 |
S | DC3 | 13 | 19 | 3 |
| 33 | 51 | S | 53 | 83 | s | 73 | 115 |
T | DC4 | 14 | 20 | 4 |
| 34 | 52 | T | 54 | 84 | t | 74 | 116 |
U | NAK | 15 | 21 | 5 |
| 35 | 53 | U | 55 | 85 | u | 75 | 117 |
V | SYN | 16 | 22 | 6 |
| 36 | 54 | V | 56 | 86 | v | 76 | 118 |
W | ETB | 17 | 23 | 7 |
| 37 | 55 | W | 57 | 87 | w | 77 | 119 |
X | CAN | 18 | 24 | 8 |
| 38 | 56 | X | 58 | 88 | x | 78 | 120 |
Y | EM | 19 | 25 | 9 |
| 39 | 57 | Y | 59 | 89 | y | 79 | 121 |
Z | SUB | 1A | 26 | : |
| 3A | 58 | Z | 5A | 90 | z | 7A | 122 |
[ | ESC | 1B | 27 | ; |
| 3B | 59 | [ | 5B | 91 | { | 7B | 123 |
\ | FS | 1C | 28 | < |
| 3C | 60 | \ | 5C | 92 | 7C | 124 | |
] | GS | 1D | 29 | = |
| 3D | 61 | ] | 5D | 93 | } | 7D | 125 |
^ | RS | 1E | 30 | > |
| 3E | 62 | ^ | 5E | 94 | ~ | 7E | 126 |
_ | US | 1F | 31 | ? |
| 3F | 63 | _ | 5F | 95 | DEL | 7F | 127 |
NUL | Null, or all zeros |
| VT | Vertical Tab |
| SYN | Sync. |
|
|
|
| ||
SOH | Start of Header |
| FF | Form Feed |
| ETB | End Transmission Block |
|
| ||||
STX | Start of Text |
|
| CR | Carriage Return |
| CAN | Cancel |
|
|
|
| |
ETX | End of Text |
|
| SO | Shift Out |
| EM | End of Medium |
|
|
| ||
EOT | End of Transmission |
| SI | Shift In |
| SUB | Substitute |
|
|
|
| ||
ENQ | Enquiry |
|
| DLE | Data Link Escape |
| ESC | Escape |
|
|
|
| |
ACK | Acknowledge |
|
| DC1 | Device Control 1 |
| FS | File Separator |
|
|
| ||
BEL | Bell or Alarm |
|
| DC2 | Device Control 2 |
| GS | Group Separator |
|
|
| ||
BS | Backspace |
|
| DC3 | Device Control 3 |
| RS | Record Separator |
|
|
| ||
HT | Horizontal Tab |
| DC4 | Device Control 4 |
| US | Unit Separator |
|
|
| |||
LF | Line Feed |
|
| NAK | Negative Acknowledge | DEL | Delete |
|
|
|
|
44 |