040921 R ASC II

xiaoxiao2021-03-06  55

At present, the most widely used character set and its encoding are used in the computer, which is the AMERICAN Standard Code for Information Interchange, the US Standard Information Exchange Code, which has been International Standardization (ISO) ) Is set as an international standard, called ISO 646 standard. Suitable for all Latin letters, ASCII code has 7-digit code and 8-bit code.

Because the 1-bit binary number can be represented (21 =) 2 states: 0, 1; 2-bit binary number can be represented (22) = 4 states: 00, 01, 10, 11; secondary push, 7-bit binary number Indicates (27 =) 128 states, each state uniquely compiled a 7-bit binary code, corresponding to a character (or control code), which can be arranged into a decimal number 0 to 127. Therefore, the 7-bit ASCII code is encoded with seven-bit binary, and 128 characters can be represented.

No. 0 ~ 32 and 34) are control characters or communication-specific characters, such as controls: LF (Renewal), CR (Enter), FF (Change Page), Del (Delete), Bel Rings)

No. 33-26 (a total of 94) are characters, including 0 ~ 90 Arabic numbers 48 ~ 90; 65 ~ 90 is 26 uppercase English letters, 97 ~ 122 is 26 lowercase English letters, The rest is some punctuation, the operation symbol, etc.

Note: In the memory cell of the computer, an ASCII code value accounts for one byte (8 binary bits), and its highest position (B7) is used as a parity bit. The so-called parity refers to a method for verifying whether there is an error in the code transfer process, generally derived by two types. Odd-calibration: The correct code 1 by one byte must be an odd number, if not odd, then add 1 in the highest bit B7; Even Value Specification: The correct code 1 number 1 must be an even number If non-even numbers, add 1 at the highest bit B7.

For ease of query, the following list below: ASCII code table:

Commonly used ASCII code comparison table

The 128-505 is extended characters (not common), if necessary, please download:

Complete 8 ASCII character table

! ASCII code ASCII code Keyboard Keyboard Keyboard ASCII code in ASCII keyboard 27ESC32SPACE33 34 "35 # 36 $ 37% 38 & 39'40 (41) 42 * 43 44'45-46.47 / 48049150251352453554655756857958: 59; 60 <61 = 62> 63 64? @ 65A66B67C68D69E70F71G72H73I74J75K76L77M78N79O80P81Q82R83S84T85U86V87W88X89Y90Z91 [92/93] 94 ^ 95_96`97a98b99c100d101e102f103g104h105i106j107k108l109m110n111o112p113q114r115s116t117u118v119w120x121y122z123 {124 | 125} 126 ~

CHR ("32") CHR ("33") ! CHR ("34")  "CHR (" 35 ")  # chr (" 36 ")  $ CHR (" 37 ") % chr (" 37 ") % CHR (" 38 ")  & chr (" 39 ") 'chr (" 40 ")  (CHR (" 41 ") ) CHR (" 42 ")  * CHR (" 42 ")  * CHR ("43")  CHR ("44") , CHR ("45") -chr ("46") .chr ("47")  / CHR ("47")  / CHR ("48") 0chr ("49") 1chr ("50") 2chr ("51") 3chr ("52") 4chr ("52") 4chr ("53") 5chr ("54") 6chr ("55") 7chr ("56") 8chr ("57") 9chr ("57") 9chr ("58") : CHR ("59") ; CHR ("60")  CHR ("62") > CHR ("63") ? CHR ("64")  @ CHR "65")  Achr ("66") BCHR ("67") CCHR ("67") CCHR ("68") DCHR ("69") ECHR ("70") fchr ("" 71 ") GCHR (" 72 ") HCHR (" 72 ") hchr (" 73 ") ichr (" 74 ") jchr (" 75 ") KCHR (" 76 ") lchr (" 77) ") MCHR (" 77 ") MCHR (" 78 ") nchr (" 79 ") ochr (" 80 ") PCHR (" 81 ") qchr (" 82 ") rchr (" 82 " ) rchr ("83") TCHR ("84") TCHR ("86") vchr ("87") WCHR ("87") WCHR ("88") XCHR ("89") ychr ("90") ZCHR ("91")  [CHR ("92")  / CHR ("92")  / CHR ("93") ] chr (" 94 ")  ^ chr (" 95 ") _chr (" 96 ") `chr (" 97 ")  Achr (" 97 ")  Achr (" 98 ") BCHR (" 99 ") CCHR ( "100") DCHR ("101") ECHR ("102") fchr ("102") fchr ("103") GCHR ("104") HCHR ("105") ichr (" 106 ") JCHR ("

转载请注明原文地址:https://www.9cbs.com/read-114798.html

New Post(0)