Department of Computer Science         ASCII Table - ActionScript KeyCodes

American Standard Code for Information Interchange, 7-bit numeric code, b7b6b5b4b3b2b1, assignment to characters. ASCII is a subset of the 16-bit numeric code Unicode. In the table below, notice the difference between 'a' = 1100001 = 97 and 'A' = 1000001 = 65 is 100000 = 32. Also note that digits begin with zero at 0110000 = 48. 
 
ACSII Ten-Finger Table
0 1 2 3 4 5 6 7 8 9
0 nul soh stx etx eot enq ack bell bksp hTab
10 lineFeed  \n vTab formFeed cr \r shOut shIn dle dc1 dc2 dc3
20 dc4 negAck syn etb cancel eom subs esc fileSep GrpSep
30 recrdSep unitSep space ! " # $ % & '
40 ( ) * + , - . / 0 1
50 2 3 4 5 6 7 8 9 : ;
60 < = > ? @ A B C D E
70 F G H I J K L M N O
80 P Q R S T U V W X Y
90 Z [ \ ] ^ _ ` a b c
100 d e f g h i j k l m
110 n o p q r s t u v w
120 x y z { } | ~ del
 


First, take a moment to analyze the layout of this table. The columns are comprised of the 3 high order bits, 3-bits give 8 distinct columns. The rows are comprised of the 4 low order bites, 4-bits give 16 distinct rows. Memorization aids for key decimal values are italicized in green.

ASCII
                                                                     b7b6b5                                                                        
b4b3b2b1 000 001 010 011 100 101 110 111
0000 nul dle space (32) 0 (48) @ P ` p
0001 soh dc1 ! 1 A (65) Q a (97) q
0010 stx dc2 " 2 B R b r
0011 etx dc3 # 3 C S c s
0100 eot dc4 $ 4 D T d t
0101 enq negAck % 5 E U e u
0110 ack syn & 6 F V f v
0111 bell etb ' 7 G W g w
1000 bksp cancel ( 8 H X h x
1001 hTab eom ) 9 I Y i y
1010 lineFeed \n subs * : J Z j z
1011 vTab esc + ; K [ k {
1100 formFeed fileSep , < L \ l |
1101 cr \r GrpSep - = M ] m }
1110 shOut recrdSep . > N ^ n ~
1111 shIn unitSep / ? O _ o del


Back