Appendix A

ASCII Codes

Both seven- and eight-bit ASCII codes are referenced here, as well as special graphics sets.

7-Bit ASCII Code

Printable Characters
Char Octal Binary
A 101 1000001
B 102 1000010
C 103 1000011
D 104 1000100
E 105 1000101
F 106 1000110
G 107 1000111
H 110 1001000
I 111 1001001
J 112 1001010
K 113 1001011
L 114 1001100
M 115 1001101
N 116 1001110
O 117 1001111
P 120 1010000
Q 121 1010001
R 122 1010010
S 123 1010011
T 124 1010100
U 125 1010101
V 126 1010110
W 127 1010111
X 130 1011000
Y 131 1011001
Z 132 1011010
Printable Characters
Char Octal Binary
a 141 1100001
b 142 1100010
c 143 1100011
d 144 1100100
e 145 1100101
f 146 1100110
g 147 1100111
h 150 1101000
i 151 1101001
j 152 1101010
k 153 1101011
l 154 1101100
m 155 1101101
n 156 1101110
o 157 1101111
p 160 1110000
q 161 1110001
r 162 1110010
s 163 1110011
t 164 1110100
u 165 1110101
v 166 1110110
w 167 1110111
x 170 1111000
y 171 1111001
z 172 1111010
Printable Characters
Char Octal Binary
SP 040 0100000
! 041 0100001
" 042 0100010
# 043 0100011
$ 044 0100100
% 045 0100101
& 046 0100110
' 047 0100111
( 050 0101000
) 051 0101001
* 052 0101010
+ 053 0101011
, 054 0101100
- 055 0101101
. 056 0101110
/ 057 0101111
0 060 0110000
1 061 0110001
2 062 0110010
3 063 0110011
4 064 0110100
5 065 0110101
6 066 0110110
7 067 0110111
8 070 0111000
9 071 0111001
: 072 0111010
; 073 0111011
< 074 0111100
= 075 0111101
> 076 0111110
? 077 0111111
@ 100 1000000
Control Characters
Char Octal Binary
NUL 000 0000000
SOH 001 0000001
STX 002 0000010
ETX 003 0000011
EOT 004 0000100
ENQ 005 0000101
ACK 006 0000110
BEL 007 0000111
BS 010 0001000
HT 011 0001001
LF 012 0001010
VT 013 0001011
FF 014 0001100
CR 015 0001101
SO 016 0001110
SI 017 0001111
DLE 020 0010000
DC1 021 0010001
DC2 022 0010010
DC3 023 0010011
DC4 024 0010100
NAK 025 0010101
SYN 026 0010110
ETB 027 0010111
CAN 030 0011000
EM 031 0011001
SUB 032 0011010
ESC 033 0011011
FS 034 0011100
GS 035 0011101
RS 036 0011110
US 037 0011111
DEL 177 1111111

Special Graphics Characters

Octal Code Graphic with US or UK set Graphic with "Special Graphics" Set
137 _ Blank
140 ` Diamond
141 a Checkerboard (error indicator)
142 b HT horizontal tab
143 c FF form feed
144 d CR carriage return
145 e LF line feed
146 f ° Degree symbol
147 g ± Plus/minus
150 h NL new line
151 i VT vertical tab
152 j Lower-right corner
153 k Upper-right corner
154 l Upper-left corner
155 m Lower-left corner
156 n Crossing lines
157 o Horizontal line - Scan 1
160 p Horizontal line - Scan 3
161 q Horizontal line - Scan 5
162 r Horizontal line - Scan 7
163 s Horizontal line - Scan 9
164 t Left "T"
165 u Right "T"
166 v Bottom "T"
167 w Top "T"
170 x Vertical Bar
171 y Less than or equal to
172 z Greater than or equal to
173 { Pi
174 | Not equal to
175 } £ UK pound sign
176 ~ · Centered dot