ASCII Code Summary 1

Source: Internet
Author: User
Tags character set delete key

Miss Rice, today lectures on ASCII code, because this is the first time to contact the hardware input and output code, in order to understand, specifically summed up this code.

The most widely used character set and its encoding in the current computer are ASCII codes developed by the United States National Standards Agency (ANSI) (American Standard Code for information interchange, US Standards Information Interchange Code), It has been established as an international standard by the International Organization for Standardization (ISO), known as ISO 646. Applies to all Latin letters, ASCII code has 7-bit code and 8-bit code two forms.

commonly used keyboard ASCII code

 

ESC key Vk_escape (27)

Enter: Vk_return (13)

TAB Key: Vk_tab (9)

Caps Lock key: Vk_capital (20)

SHIFT Key: Vk_shift ($ $)

CTRL key: Vk_control (17)

ALT key: Vk_menu (18)

Space bar: Vk_space ($20/32)

BACKSPACE: Vk_back (8)

Left logo key: Vk_lwin (91)

Right logo key: Vk_lwin (92)

Right mouse shortcut key: Vk_apps (93)

INSERT Key: Vk_insert (45)

HOME Key: Vk_home (36)

Page Up:vk_prior (33)

Pagedown:vk_next (34)

END Key: Vk_end (35)

DELETE Key: Vk_delete (46)

Arrow keys (←): Vk_left (37)

Arrow keys (↑): Vk_up (38)

direction keys (→): vk_right (39)

Arrow keys (↓): Vk_down (40)

F1 key: vk_f1 (112)

F2 key: Vk_f2 (113)

F3 key: Vk_f3 (114)

F4 key: Vk_f4 (115)

F5 key: Vk_f5 (116)

F6 key: Vk_f6 (117)

F7 key: Vk_f7 (118)

F8 key: Vk_f8 (119)

F9 Key: Vk_f9 (120)

F10 Key: VK_F10 (121)

F11 Key: vk_f11 (122)

F12 key: Vk_f12 (123)

NUM LOCK key: Vk_numlock (144)

Keypad 0:VK_NUMPAD0 (96)

Keypad 1:VK_NUMPAD1 (97)

Keypad 2:vk_numpad2 (98)

Keypad 3:VK_NUMPAD3 (99)

Keypad 4:VK_NUMPAD4 (100)

Keypad 5:VK_NUMPAD5 (101)

Keypad 6:VK_NUMPAD6 (102)

Keypad 7:VK_NUMPAD7 (103)

Keypad 8:vk_numpad8 (104)

Keypad 9:VK_NUMPAD9 (105)

Keypad.: Vk_decimal (110)

Numpad *: vk_multiply (106)

Keypad +: vk_multiply (107)

Numpad-: vk_subtract (109)

Numpad/: Vk_divide (111)

Pause Break key: Vk_pause (19)

Scroll Lock key: Vk_scroll (145)

the difference between BCD code and Ascⅱ

ASCII code is the United States Standard Information Interchange Code (American Standards Code for Information Interchange), letters and various characters must be encoded by a specific rule in order to be represented in the computer. There are many ways to encode, ASCII is one of the most common. The standard ASCII code is encoded in seven-bit binary, with 128.

The 1-bit decimal number can be represented by a 4-bit binary encoding, which is known as the "Binary encoded decimal number (bcd:binary Coded decimal)". The common BCD code is 8421 yards.

ASCII codes are used to represent various characters and letters in a computer, while BCD codes are used to conveniently represent decimal numbers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.