Figure 1-5 ASCII code. Glenn A. Gibson, Yu-Cheng Liu, MICROCOMPUTERS FOR ENGINEERS AND SCIENTISTS © 1980, Prentice-Hall, Inc.
ASCII Char. | Hex. Code | Control Character | ASCII Char. | Hex. Code | Control Character | ASCII Char. | Hex. Code | Control Character | ||
---|---|---|---|---|---|---|---|---|---|---|
NULL | 00 | Null | + | 2B | V | 56 | ||||
SOH | 01 | Start heading | , | 2C | W | 57 | ||||
STX | 02 | Start text | - | 2D | X | 58 | ||||
ETX | 03 | End text | . | 2E | Y | 59 | ||||
EOT | 04 | End of transmission | / | 2F | Z | 5A | ||||
ENQ | 05 | Inquiry | 0 | 30 | [ | 5B | ||||
ACK | 06 | Acknowledgment | 1 | 31 | \ | 5C | ||||
BEL | 07 | Bell | 2 | 32 | ] | 5D | ||||
BS | 08 | Backspace | 3 | 33 | ^ | 5E | ||||
HT | 09 | Horizontal tab | 4 | 34 | _ | 5F | ||||
LF | 0A | Line feed | 5 | 35 | ` | 60 | ||||
VT | 0B | Vertical tab | 6 | 36 | a | 61 | ||||
FF | 0C | Form feed | 7 | 37 | b | 62 | ||||
CR | 0D | Carriage return | 8 | 38 | c | 63 | ||||
SO | 0E | Shift out | 9 | 39 | d | 64 | ||||
SI | 0F | Shift in | : | 3A | e | 65 | ||||
DLE | 10 | Data link escape | ; | 3B | f | 66 | ||||
DC1 | 11 | Device control 1 | < | 3C | g | 67 | ||||
DC2 | 12 | Device control 2 | = | 3D | h | 68 | ||||
DC3 | 13 | Device control 3 | > | 3E | i | 69 | ||||
DC4 | 14 | Device control 4 | ? | 3F | j | 6A | ||||
NAK | 15 | Neg. acknowledge | @ | 40 | k | 6B | ||||
SYN | 16 | Synchronous/Idle | A | 41 | l | 6C | ||||
ETB | 17 | End trans. block | B | 42 | m | 6D | ||||
CAN | 18 | Cancel data | C | 43 | n | 6E | ||||
EM | 19 | End of medium | D | 44 | o | 6F | ||||
SUB | 1A | Start special seq. | E | 45 | p | 70 | ||||
ESC | 1B | Escape | F | 46 | q | 71 | ||||
FS | 1C | File separator | G | 47 | r | 72 | ||||
GS | 1D | Group separator | H | 48 | s | 73 | ||||
RS | 1E | Record separator | I | 49 | t | 74 | ||||
US | 1F | Unit separator | J | 4A | u | 75 | ||||
SP | 20 | Space | K | 4B | v | 76 | ||||
! | 21 | L | 4C | w | 77 | |||||
" | 22 | M | 4D | x | 78 | |||||
# | 23 | N | 4E | y | 79 | |||||
$ | 24 | O | 4F | z | 7A | |||||
% | 25 | P | 50 | { | 7B | |||||
& | 26 | Q | 51 | | | 7C | |||||
' | 27 | R | 52 | } | 7D | |||||
( | 28 | S | 53 | ~ | 7E | |||||
) | 29 | T | 54 | DEL | 7F | Delete-rubout | ||||
* | 2A | U | 55 |
As an example, the character string
DOE,
JOHN P.-50
would correspond to the following string of bit combinations (given in hexadecimal):
|-------------------------Carriage return | |----------------------Line feed | | |-------Space | | | 44 4F 45 2C 0D 0A 4A 4F 48 4E 20 50 2E 2D 35 30 D O E , J O H N P . - 5 0
Figure 1-6 ASCII character being transmitted to a computer.
This is page 2.