The ASCII Code)
Total Page:16
File Type:pdf, Size:1020Kb
255 APPENDIX! The American Standard Code for Information Interchange (The ASCII code) dec hex character name 0 00 NUL null character 1 01 SOH start of heading 2 02 STX start text 3 03 ETX end text 4 04 EOT end of transmission 5 05 ENQ enquiry 6 06 ACK acknowledge 7 07 BEL ring bell 8 08 BS backspace 9 09 HT horiwntal tab 10 Oa LF linefeed 11 Ob VT vertical tab 12 Oc FF fonnfeed 13 Od CR carriage return 14 Oe SO shift out 15 Of SI shift in 16 10 OLE data link escape 17 11 DCI device control #1 18 12 DC2 device control #2 19 13 DC1 device control #3 20 14 DCI device control #4 21 15 NAK negative acknowledge 22 16 SYN synchronous idle 23 17 ETB end transmission block 24 18 CAN cancel 25 19 EM end medium 26 1a SUB substitute 27 Ib ESC escape 28 lc FS file separator 29 Id GS group separator 30 Ie RS record separator 31 If US unit separator 32 20 SP space 256 APPENDICES The ASOI code (contd.) dec hex char dec hex char dec hex char 33 21 65 41 A 97 61 a 34 22 .. 66 42 B 98 62 b 35 23 # 67 43 C 99 63 c 36 24 $ 68 44 D 100 64 d 37 25 % 69 45 E 101 65 e 38 26 & 70 46 F 102 66 f 39 27 71 47 G 103 67 g 40 28 ( 72 48 H 104 68 h 41 29 ) 73 49 I 105 69 i 42 2a * 74 4a J 106 6a j 43 2b + 75 4b K 107 6b k 44 2c 76 4c L 108 6c I 45 2d - 77 4d M 109 6d m 46 2e 78 4e N 110 6e n 47 2f / 79 4f 0 111 6f 0 48 30 0 80 50 P 112 70 P 49 31 1 81 51 Q 113 71 q 50 32 2 82 52 R 114 72 r 51 33 3 83 53 S 115 73 s 52 34 4 84 54 T 116 74 t 53 35 5 85 55 U 117 75 u 54 36 6 86 56 V 118 76 v 55 37 7 87 57 W 119 77 w 56 38 8 88 58 X 120 78 x 57 39 9 89 59 Y 121 79 Y 58 3a 90 5a Z 122 7a z 59 3b 91 5b [ 123 7b { 60 3c < 92 5c \ 124 7c I 61 3d = 93 5d ] 125 7d } 62 3e > 94 5e 1\ 126 7e 63 3f ? 95 5f 127 7f del 64 40 @ 94 60 • APPENDICES 257 APPENDIX 2 Binary and Binary Coded Decimal (BCD) values binary dec BCD Binary dec BCD binary dec BCD 00000001 1 01 00000010 2 02 00000011 3 03 00000100 4 04 00000101 5 05 00000110 6 06 00000111 7 07 00001000 8 08 00001001 9 09 00001010 10 00001011 11 00001100 12 00001101 13 00001110 14 00001111 15 00010000 16 10 00010001 17 11 00010010 18 12 00010011 19 13 00010100 20 14 00010101 21 15 ooo101l0 22 16 00010111 23 17 00011000 24 18 00011001 25 19 00011010 26 00011011 27 oool1loo 28 00011101 29 00011110 30 00011111 31 00100000 32 20 00100001 33 21 00100010 34 22 00100011 35 23 00100100 36 24 00100101 37 25 00100110 38 26 00100111 39 27 00101000 40 28 00101001 41 29 00101010 42 00101011 43 00101100 44 00101101 45 00101110 46 00101111 47 00110000 48 30 00110001 49 31 00110010 50 32 00110011 51 33 00110100 52 34 00110101 53 35 00110110 54 36 00110111 55 37 00111000 56 38 00111001 57 39 00111010 58 00111011 59 00111100 60 00111101 61 00111110 62 00111111 63 01000000 64 40 01000001 65 41 01000010 66 42 01000011 67 43 01000100 68 44 01000101 69 45 O1ooo1l0 70 46 01000111 71 47 01001000 72 48 01001001 73 49 01001010 74 01001011 75 01001100 76 01001101 77 01001110 78 01001111 79 01010000 80 50 01010001 81 51 01010010 82 52 01010011 83 53 01010100 84 54 01010101 85 55 01010110 86 56 01010111 87 57 01011000 88 58 01011001 89 59 01011010 90 01011011 91 01011100 92 01011101 93 01011110 94 01011111 95 01100000 96 60 01100001 97 61 01100010 98 62 01100011 99 63 01100100 100 64 01100101 101 65 01100110 102 66 01loo1l1 103 67 01l01ooo 104 68 01101001 105 69 01101010 106 01101011 107 01101100 108 01101101 109 01101110 110 01101111 111 011loooo 112 70 01110001 113 71 01110010 114 72 O11loo1l 115 73 01110100 116 74 01110101 117 75 01110110 118 76 01110111 119 77 01111000 120 78 0111loo1 121 79 01111010 122 01l1101l 123 O1111loo 124 01111101 125 01111110 126 0111l1l1 127 10000000 128 80 10000001 129 81 10000010 130 82 10000011 131 83 10000100 132 84 10000101 133 85 10000110 134 86 10000111 135 87 10001000 136 88 10001001 137 89 10001010 138 10001011 139 10001100 140 10001101 141 10001110 142 10001111 143 10010000 144 90 10010001 145 91 10010010 146 92 10010011 147 93 10010100 148 94 10010101 149 95 10010110 150 96 10010111 151 97 10011000 152 98 10011001 153 99 10011010 154 10011011 155 10011100 156 10011101 157 10011110 158 10011111 159 Note: - represents a forbidden BCD representation. 258 APPENDICES APPENDIX 3. Decimal-Hexadecimal conversion tables, a) 1-256 in steps of 1 dec hex dec hex dec hex dec hex dec hex dec hex 1 OlH 2 02H 3 03H 4 O4H 5 05H 6 06H 7 07H 8 08H 9 O9H 10 OaH 11 ObH 12 OcH 13 0dH 14 OeH 15 OfH 16 lOH 17 11H 18 12H 19 13H 20 14H 21 15H 22 16H 23 17H 24 18H 25 19H 26 1aH 27 1bH 28 1cH 29 1dH 30 1eH 31 1fH 32 20H 33 2lH 34 22H 35 23H 36 24H 37 25H 38 26H 39 27H 40 28H 41 29H 42 2aH 43 2bH 44 2cH 45 2dH 46 2eH 47 2fH 48 30H 49 3lH 50 32H 51 33H 52 34H 53 35H 54 36H 55 37H 56 38H 57 39H 58 3aH 59 3bH 60 3eH 61 3dH 62 3eH 63 3fH 64 40H 65 41H 66 42H 67 43H 68 44H 69 45H 70 46H 71 47H 72 48H 73 49H 74 4aH 75 4bH 76 4cH 77 4dH 78 4eH 79 4fH 80 50H 81 51H 82 52H 83 53H 84 54H 85 55H 86 56H 87 57H 88 58H 89 59H 90 5aH 91 5bH 92 5eH 93 5dH 94 5eH 95 5fH 96 60H 97 61H 98 62H 99 63H 100 64H 101 65H 102 66H 103 67H 104 68H 105 69H 106 6aH 107 6bH 108 6cH 109 6dH 110 6eH 111 6fH 112 70H 113 7lH 114 72H 115 73H 116 74H 117 75H 118 76H 119 77H 120 78H 121 79H 122 7aH 123 7bH 124 7eH 125 7dH 126 7eH 127 7fH 128 80H 129 81H 130 82H 131 83H 132 84H 133 85H 134 86H 135 87H 136 88H 137 89H 138 8aH 139 8bH 140 8eH 141 8dH 142 8eH 143 8fH 144 90H 145 91H 146 92H 147 93H 148 94H 149 95H 150 96H 151 97H 152 98H 153 99H 154 9aH 155 9bH 156 9cH 157 9dH 158 geH 159 9fH 160 aOH 161 a1H 162 a2H 163 a3H 164 a4H 165 aSH 166 a6H 167 a7H 168 a8H 169 a9H 170 aaH 171 abH 172 acH 173 adH 174 aeH 175 afH 176 bOH 177 blH 178 b2H 179 b3H 180 b4H 181 b5H 182 b6H 183 b7H 184 b8H 185 b9H 186 baH 187 bbH 188 bcH 189 bdH 190 beH 191 bfH 192 cOH 193 elH 194 e2H 195 c3H 196 c4H 197 c5H 198 e6H 199 e7H 200 e8H 201 e9H 202 eaH 203 ebH 204 ccH 205 cdH 206 ceH 207 efH 208 dOH 209 dlH 210 d2H 211 d3H 212 d4H 213 dSH 214 d6H 215 d7H 216 d8H 217 d9H 218 daH 219 dbH 220 dcH 221 ddH 222 deH 223 dfH 224 eOH 225 e1H 226 e2H 227 e3H 228 e4H 229 e5H 230 e6H 231 e7H 232 e8H 233 e9H 234 eaH 235 ebH 236 ecH 237 edH 238 eeH 239 efH 240 fOH 241 flH 242 f2H 243 f3H 244 f4H 245 f5H 246 f6H 247 nH 248 fSH 249 f9H 250 faH 251 fbH 252 feH 253 fdH 254 feH 255 ffH 256 looH APPENDICES 259 b) 256-32768 in steps of 256 dec hex dec hex dec hex dec hex dec hex 256 100H 512 200H 768 300H 1024 400H 1280 500H 1536 600H 1792 700H 2048 800H 2304 900H 2560 aOOH 2816 bOOH 3072 cOOH 3328 dOOH 3584 eOOH 3840 fOOH 4096 1000H 4352 1100H 4608 1200H 4864 1300H 5120 1400H 5376 1500H 5632 1600H 5888 1700H 6144 1800H 6400 1900H 6656 laOOH 6912 1bOOH 7168 1cOOH 7424 1dOOH 7680 1eOOH 7936 lfOOH 8192 2000H 8448 2100H 8704 2200H 8960 2300H 9216 2400H 9472 2500H 9728 2600H 9984 2700H 10240 2800H 10496 2900H 10752 2aOOH 11008 2bOOH 11264 2cOOH 11520 2dOOH 11776 2eOOH 12032 2fOOH 12288 3000H 12544 3100H 12800 3200H 13056 3300H 13312 3400H 13568 3500H 13824 3600H 14080 3700H 14336 3800H 14592 3900H 14848 3aOOH 15104 3bOOH 15360 3cOOH 15616 3dOOH 15872 3eOOH 16128 3fOOH 16384 4000H 16640 4100H 16896 4200H 17152 4300H 17408 4400H 17664 4500H 17920 4600H 18176 4700H 18432 4800H 18688 4900H 18944 4aOOH 19200 4bOOH 19456 4cOOH 19712 4dOOH 19968 4eOOH 20224 4fOOH 20480 5000H 20736 5100H 20992 5200H 21248 5300H 21504 5400H 21760 5500H 22016 5600H 22272 5700H 22528 5800H 22784 5900H 23040 5aOOH 23296 5bOOH 23552 5cOOH 23808 5dOOH 24064 5eOOH 24320 5fOOH 24576 6000H 24832 6100H 25088 6200H 25344 6300H 25600 6400H 25856 6500H 26112 6600H 26368 6700H 26624 6800H 26880 6900H 27136 6aOOH 27392 6bOOH 27648 6cOOH 27904 6dOOH 28160 6eOOH 28416 6fOOH 28672 7000H 28928 7100H 29184 7200H 29440 7300H 29696 7400H 29952 7500H 30208 7600H 30464 7700H 30720 7800H 30976 7900H 31232 7aOOH 31488 7bOOH 31744 7cOOH 32000 7dOOH 32256 7eOOH 32512 7fOOH 32768 8000H C) 33024-65536 in steps of 512 dec hex dec hex dec hex dec hex dec hex 33024 8100H 33536 8300H 34048 8500H 34560 8700H 35072 8900H 35584 8bOOH 36096 8dOOH 36608 8fOOH 37120 9100H 37632 9300H 38144 9500H 38656 9700H 39168 9900H 39680 9bOOH 40192 9dOOH 40704 9fOOH 41216 a100H 41728 a300H 42240 aSOOH 42752 a700H 43264 a900H 43776 abOOH 44288 adOOH 44800 afOOH 45312 b100H 45824 b300H 46336 b500H 46848 b700H 47360 b900H 47872 bbOOH 48384 bdOOH 48896 bfOOH 49408 c100H 49920 c300H 50432 c500H 50944 c700H 51456 c900H 51968 cbOOH 52480 cdOOH 52992 cfOOH 53504 d100H 54016 d300H 54528 dSOOH 55040 d700H 55552 d900H 56064 dbOOH 56576 ddOOH 57088 dfOOH 57600 e100H 58112 e300H 58624 e500H 59136 e700H 59648 e900H 60160 ebOOH 60672 edOOH 61184 efOOH 61696 flOOH 62208 f300H 62720 f500H 63232 f700H 63744 f900H 64256 fbOOH 64768 fdOOH 65280 ffOOH 260 APPENDICES d) 65536-4194304 in steps of 65536 dec hex dec hex dec hex dec hex 65536 l0000H 131072 20000H 196608 30000H 262144 40000H 327680 50000H 393216 60000H 458752 70000H 524288 80000H 589824 90000H 655360 aOOOOH 720896 bOOOOH 786432 cOOOOH 851968 dOOOOH 917504 eOOOOH 983040 f()()()()H 1048576 l00000H 1114112 11 OOOOH 1179648 120000H 1245184 130000H 1310720 140000H 1376256 150000H 1441792 160000H 1507328 170000H 1572864 180000H 1638400 190000H 1703936 laOOOOH 1769472 lbOOOOH 1835008 lcOOOOH 1900544 IdOOOOH 1966080 leOOOOH 2031616 If()()()()H 2097152 200000H 2162688 210000H 2228224 220000H 2293760 230000H 2359296 240000H 2424832 250000H 2490368 260000H 2555904 270000H 2621440 280000H 2686976 290000H 2752512 2aOOOOH 2818048 2bOOOOH 2883584 2cOOOOH 2949120 2dOOOOH 3014656 2eOOOOH 3080192 2f()()()()H 3145728 300000H 3211264 310000H 3276800 320000H 3342336 330000H 3407872 340000H 3473408 350000H 3538944 360000H 3604480 370000H 3670016 380000H 3735552 390000H 3801088 3aOOOOH 3866624 3bOOOOH 3932160 3cOOOOH 3997696 3dOOOOH 4063232 3eOOOOH 4128768 3f()()()()H 4194304 400000H 261 BmLIOGRAPHY General electronics and integrated circuits O.