CP/M Plus (CP/M® Version 3) Operating System Programmer's Guide

 

Appendix D

ASCII and Hexadecimal Conversions

This appendix contains tables of the ASCII symbols, including their binary, decimal, and hexadecimal conversions.

Table D-1. ASCII Symbols

Symbol
Meaning
ACK
acknowledge
BEL
bell
BS
backspace
CAN
cancel
CR
carriage return
DC
device control
DEL
delete
DLE
data link escape
EM
end of medium
ENQ
enquiry
EOT
end of transmission
ESC
escape
ETB
end of transmission
ETX
end of text
FF
form-feed
FS
file separator
GS
group separator
HT
horizontal tabulation
LF
line-feed
NAK
negative acknowledge
NUL
null
RS
record separator
SI
shift in
SO
shift out
SOH
start of heading
SP
space
STX
start of text
SUB
substitute
SYN
synchronous idle
US
unit separator
VT
vertical tabulation

Table D-2. ASCII Conversion Table

Binary Decimal Hexadecimal ASCII
0000000 000 00 NUL
0000001 001 01 SOH (CTRL-A)
0000010 002 02 STX (CTRL-B)
0000011 003 03 ETX (CTRL-C)
0000100 004 04 EOT (CTRL-D)
0000101 005 05 ENQ (CTRL-E)
0000110 006 06 ACK (CTRL-F)
0000111 007 07 BEL (CTRL-G)
0001000 008 08 BS (CTRL-H)
0001001 009 09 HT (CTRL-I)
0001010 010 0A LF (CTRL-J)
0001011 011 0B VT (CTRL-K)
0001100 012 0C FF (CTRL-L)
0001101 013 0D CR (CTRL-M)
0001110 014 0E SO (CTRL-N)
0001111 015 0F SI (CTRL-O)
0010000 016 10 DLE (CTRL-P)
0010001 017 11 DC1 (CTRL-Q)
0010010 018 12 DC2 (CTRL-R)
0010011 019 13 DC3 (CTRL-S)
0010100 020 14 DC4 (CTRL-T)
0010101 021 15 NAK (CTRL-U)
0010110 022 16 SYN (CTRL-V)
0010111 023 17 ETB (CTRL-W)
0011000 024 18 CAN (CTRL-X)
0011001 025 19 EM (CTRL-Y)
0011010 026 1A SUB (CTRL-Z)
0011011 027 1B ESC (CTRL-[)
0011100 028 1C FS (CTRL-\)
0011101 029 1D GS (CTRL-])
0011110 030 1E RS (CTRL-^)
0011111 031 1F US (CTRL-_)
0100000 032 20 (SPACE)
0100001 033 21 !
0100010 034 22 "
0100011 035 23 #
0100100 036 24 $
0100101 037 25 %
0100110 038 26 &
0100111 039 27 '
0101000 040 28 (
0101001 041 29 )
0101010 042 2A *
0101011 043 2B +
0101100 044 2C ,
0101101 045 2D -
0101110 046 2E .
0101111 047 2F /
0110000 048 30 0
0110001 049 31 1
0110010 050 32 2
0110011 051 33 3
0110100 052 34 4
0110101 053 35 5
0110110 054 36 6
0110111 055 37 7
0111000 056 38 8
0111001 057 39 9
0111010 058 3A :
0111011 059 3B ;
0111100 060 3C <
0111101 061 3D =
0111110 062 3E >
0111111 063 3F ?
1000000 064 40 @
1000001 065 41 A
1000010 066 42 B
1000011 067 43 C
1000100 068 44 D
1000101 069 45 E
1000110 070 46 F
1000111 071 47 G
1001000 072 48 H
1001001 073 49 I
1001010 074 4A J
1001011 075 4B K
1001100 076 4C L
1001101 077 4D M
1001110 078 4E N
1001111 079 4F O
1010000 080 50 P
1010001 081 51 Q
1010010 082 52 R
1010011 083 53 S
1010100 084 54 T
1010101 085 55 U
1010110 086 56 V
1010111 087 57 W
1011000 088 58 X
1011001 089 59 Y
1011010 090 5A Z
1011011 091 5B [
1011100 092 5C \
1011101 093 5D ]
1011110 094 5E ^
1011111 095 5F _
1100000 096 60 `
1100001 097 61 a
1100010 098 62 b
1100011 099 63 c
1100100 100 64 d
1100101 101 65 e
1100110 102 66 f
1100111 103 67 g
1101000 104 68 h
1101001 105 69 i
1101010 106 6A j
1101011 107 6B k
1101100 108 6C l
1101101 109 6D m
1101110 110 6E n
1101111 111 6F o
1110000 112 70 p
1110001 113 71 q
1110010 114 72 r
1110011 115 73 s
1110100 116 74 t
1110101 117 75 u
1110110 118 76 v
1110111 119 77 w
1111000 120 78 x
1111001 121 79 y
1111010 122 7A z
1111011 123 7B {
1111100 124 7C |
1111101 125 7D }
1111110 126 7E ~
1111111 127 7F DEL

End of Appendix D

Continue in...
Top of this document
Index
Appendix E
Section 0
Main

page URL: www.bigfoot.com/~c128page/cpm3-prg/cpm3prgd.htm
contact: c128page@bigfoot.com