'ascii'에 해당되는 글 3건

  1. 2008.12.23 The Control Characters by CEOinIRVINE
  2. 2008.12.23 ASCII characters 0 to 127 , Extended ASCII by CEOinIRVINE
  3. 2008.12.23 IBM PC Keyboard Scan Codes by CEOinIRVINE 1

The Control Characters

Hacking 2008. 12. 23. 09:58
ASCII Character Set

The Control Characters

The first 32 values are non-printing control characters, such as Return and Line feed. You generate these characters on the keyboard by holding down the Control key while you strike another key. For example, Bell is value 7, Control plus G, often shown in documents as ^G. Notice that 7 is 64 less than the value of G (71); the Control key subtracts 64 from the value of the keys that it modifies.

For the text version of the following tables, click Control Characters and Printing Characters.

Control Characters

Char Oct Dec Hex Control-Key Control Action
NUL 0 0 0 ^@ Null character
SOH 1 1 1 ^A Start of heading, = console interrupt
STX 2 2 2 ^B Start of text, maintenance mode on HP console
ETX 3 3 3 ^C End of text
EOT 4 4 4 ^D End of transmission, not the same as ETB
ENQ 5 5 5 ^E Enquiry, goes with ACK; old HP flow control
ACK 6 6 6 ^F Acknowledge, clears ENQ logon hand
BEL 7 7 7 ^G Bell, rings the bell...
BS 10 8 8 ^H Backspace, works on HP terminals/computers
HT 11 9 9 ^I Horizontal tab, move to next tab stop
LF 12 10 a ^J Line Feed
VT 13 11 b ^K Vertical tab
FF 14 12 c ^L Form Feed, page eject
CR 15 13 d ^M Carriage Return
SO 16 14 e ^N Shift Out, alternate character set
SI 17 15 f ^O Shift In, resume defaultn character set
DLE 20 16 10 ^P Data link escape
DC1 21 17 11 ^Q XON, with XOFF to pause listings; ":okay to send".
DC2 22 18 12 ^R Device control 2, block-mode flow control
DC3 23 19 13 ^S XOFF, with XON is TERM=18 flow control
DC4 24 20 14 ^T Device control 4
NAK 25 21 15 ^U Negative acknowledge
SYN 26 22 16 ^V Synchronous idle
ETB 27 23 17 ^W End transmission block, not the same as EOT
CAN 30 24 17 ^X Cancel line, MPE echoes !!!
EM 31 25 19 ^Y End of medium, Control-Y interrupt
SUB 32 26 1a ^Z Substitute
ESC 33 27 1b ^[ Escape, next character is not echoed
FS 34 28 1c ^\ File separator
GS 35 29 1d ^] Group separator
RS 36 30 1e ^^ Record separator, block-mode terminator
US 37 31 1f ^_ Unit separator

'Hacking' 카테고리의 다른 글

Hit Tracing by using ollydbg  (0) 2008.12.25
Gunz Hacking  (0) 2008.12.24
ASCII characters 0 to 127 , Extended ASCII  (0) 2008.12.23
IBM PC Keyboard Scan Codes  (1) 2008.12.23
Creating .DLL's  (0) 2008.12.23
Posted by CEOinIRVINE
l

ASCII characters 0 to 127

Code 0 to 31 ( and # 127 ) are non-printing, mostly obsolete control characters
that affect how text is processed. There is 95 printable characters.

To print one, press the ALT key ( hold it down ) and type the decimal number.

asciitable.gif (13744 bytes)




Extended ASCII

There is many version of the extended ASCII set, this is the most popular one.

extended.gif (12380 bytes)


'Hacking' 카테고리의 다른 글

Gunz Hacking  (0) 2008.12.24
The Control Characters  (0) 2008.12.23
IBM PC Keyboard Scan Codes  (1) 2008.12.23
Creating .DLL's  (0) 2008.12.23
Reverse Engineering (BASIC)  (0) 2008.12.22
Posted by CEOinIRVINE
l

IBM PC Keyboard Scan Codes

Hacking 2008. 12. 23. 09:54

IBM PC Keyboard Scan Codes

For many of the special key combinations such as ALT-A, F1, PgUp, and so forth, the IBM PC uses a special two-character escape sequence. Depending on the programming language being used and the level at which the keyboard is being accessed, the escape character is either ESC (27, 0x1B), or NUL (0). Here are some common sequences:
Char.  Decimal Pair     Hex Pair    Char.  Decimal Pair    Hex Pair
ALT-A (00,30) (0x00,0x1e) ALT-B (00,48) (0x00,0x30)
ALT-C (00,46) (0x00,0x2e) ALT-D (00,32) (0x00,0x20)
ALT-E (00,18) (0x00,0x12) ALT-F (00,33) (0x00,0x21)
ALT-G (00,34) (0x00,0x22) ALT-H (00,35) (0x00,0x23)
ALT-I (00,23) (0x00,0x17) ALT-J (00,36) (0x00,0x24)
ALT-K (00,37) (0x00,0x25) ALT-L (00,38) (0x00,0x26)
ALT-M (00,50) (0x00,0x32) ALT-N (00,49) (0x00,0x31)
ALT-O (00,24) (0x00,0x18) ALT-P (00,25) (0x00,0x19)
ALT-Q (00,16) (0x00,0x10) ALT-R (00,19) (0x00,0x13)
ALT-S (00,31) (0x00,0x1a) ALT-T (00,20) (0x00,0x14)
ALT-U (00,22) (0x00,0x16) ALT-V (00,47) (0x00,0x2f)
ALT-W (00,17) (0x00,0x11) ALT-X (00,45) (0x00,0x2d)
ALT-Y (00,21) (0x00,0x15) ALT-Z (00,44) (0x00,0x2c)
PgUp (00,73) (0x00,0x49) PgDn (00,81) (0x00,0x51)
Home (00,71) (0x00,0x47) End (00,79) (0x00,0x4f)
UpArrw (00,72) (0x00,0x48) DnArrw (00,80) (0x00,0x50)
LftArrw (00,75) (0x00,0x4b) RtArrw (00,77) (0x00,0x4d)
F1 (00,59) (0x00,0x3b) F2 (00,60) (0x00,0x3c)
F3 (00,61) (0x00,0x3d) F4 (00,62) (0x00,0x3e)
F5 (00,63) (0x00,0x3f) F6 (00,64) (0x00,0x40)
F7 (00,65) (0x00,0x41) F8 (00,66) (0x00,0x42)
F9 (00,67) (0x00,0x43) F10 (00,68) (0x00,0x44)
F11 (00,133) (0x00,0x85) F12 (00,134) (0x00,0x86)
ALT-F1 (00,104) (0x00,0x68) ALT-F2 (00,105) (0x00,0x69)
ALT-F3 (00,106) (0x00,0x6a) ALT-F4 (00,107) (0x00,0x6b)
ALT-F5 (00,108) (0x00,0x6c) ALT-F6 (00,109) (0x00,0x6d)
ALT-F7 (00,110) (0x00,0x6e) ALT-F8 (00,111) (0x00,0x6f)
ALT-F9 (00,112) (0x00,0x70) ALT-F10 (00,113) (0x00,0x71)

'Hacking' 카테고리의 다른 글

The Control Characters  (0) 2008.12.23
ASCII characters 0 to 127 , Extended ASCII  (0) 2008.12.23
Creating .DLL's  (0) 2008.12.23
Reverse Engineering (BASIC)  (0) 2008.12.22
Gunz Hacking  (0) 2008.12.19
Posted by CEOinIRVINE
l