Novell Home

Novell's Networking Primer

Primer Appendix

The table below illustrates the ASCII code set. The second table, ASCII Code-to-Character Conversion, gives the code-to-character mapping.

ASCII Code Set

  Bit Settings 7 0 0 0 0 1 1 1 1
6 0 0 1 1 0 0 1 1
5 0 1 0 1 0 1 0 1
4 3 2 1 Resulting Codes
0 0 0 0 0 16 32 48 64 80 96 112
0 0 0 1 1 17 33 49 65 81 97 113
0 0 1 0 2 18 34 50 66 82 98 114
0 0 1 1 3 19 35 51 67 83 99 115
0 1 0 0 4 20 36 52 68 84 100 116
0 1 0 1 5 21 37 53 69 85 101 117
0 1 1 0 6 22 38 54 70 86 102 118
0 1 1 1 7 23 39 55 71 87 103 119
1 0 0 0 8 24 40 56 72 88 104 120
1 0 0 1 9 25 41 57 73 89 105 121
1 0 1 0 10 26 42 58 74 90 106 122
1 0 1 1 11 27 43 59 75 91 107 123
1 1 0 0 12 28 44 60 76 92 108 124
1 1 0 1 13 29 45 61 77 93 109 125
1 1 1 0 14 30 46 62 78 94 110 126
1 1 1 1 15 31 47 63 79 95 111 127

In the ASCII coding scheme, information (a numeral, symbol, or alphabetic character) is represented by the value of a data unit called a "byte." Each byte can represent one character. There are eight bits in one byte. Bits, short for binary digits, are the data units actually stored in the computer as either a one or a zero. Computers read stored bytes and interpret them as the codes that represent character-based information.

Sample Byte (Bit Settings)

8 7 6 5 4 3 2 1
1 1 0 0 0 0 0 1 = 65 = letter "A"
0 0 1 1 1 0 0 0 = 56 = number "8"

ASCII Code-to-Character Conversion

In the ASCII coding scheme, information (a number or alphabetic character) is represented by the value of a data unit called a "byte." The following table shows possible byte values and the characters that each value is used to represent.

CODE CHAR CODE CHAR CODE CHAR CODE CHAR CODE CHAR
0 NUL 26 SUB 52 4 78 N 104 h
1 SOH 27 ESC 53 5 79 O 105 i
2 STX 28 FS 54 6 80 P 106 j
3 ETX 29 GS 55 7 81 Q 107 k
4 EOT 30 RS 56 8 82 R 108 l
5 ENQ 31 US 57 9 83 S 109 m
6 ACK 32 SP 58 : 84 T 110 n
7 BEL 33 ! 59 ; 85 U 111 o
8 BS 34 " 60 < 86 V 112 p
9 HT 35 # 61 = 87 W 113 q
10 LF 36 $ 62 > 88 X 114 r
11 VT 37 % 63 ? 89 Y 115 s
12 FF 38 & 64 @ 90 Z 116 t
13 CR 39 ' 65 A 91 [ 117 u
14 SO 40 ( 66 B 92 \ 118 v
15 SI 41 ) 67 C 93 ] 119 w
16 DLE 42 * 68 D 94 ^ 120 x
17 DC1 43 + 69 E 95 _ 121 y
18 DC2 44 , 70 F 96 ' 122 z
19 DC3 45 - 71 G 97 a 123 {
20 DC4 46 . 72 H 98 b 124 |
21 NAK 47 / 73 I 99 c 125 }
22 SYN 48 0 74 J 100 d 126 ~
23 ETB 49 1 75 K 101 e 127 DEL
24 CAN 50 2 76 L 102 f    
25 EM 51 3 77 M 103 g    

Previous     |     Return to Primer Index    

© 2014 Novell