FourColumnASCII

15th February 2017 at 3:17pm
ASCII TechnicalNotes

ASCII starts with 32 non-printable characters called control characters. Typically you may input these on a terminal by pressing the Control/Ctrl key in combination with a corresponding key.

For example, ANSI art authors may be familiar with entering ANSI escape seqences, so called because they start with the ESC charater, which would be entered by pressing Ctrl & [.

ASCII is encoded in 7 bits, meaning we can easily show all the ASCII characters in a 4 column table. The first two bits increment on each new column. The remaining 5 bits make up the remainder of the binary representation of the ASCII character.

The following table clearly shows the correlation between the control characters and the Ctrl key input combinations:

00011011
NULSpc@`00000
SOH!Aa00001
STX"Bb00010
ETX#Cc00011
EOT$Dd00100
ENQ%Ee00101
ACK&Ff00110
BEL'Gg00111
BS(Hh01000
TAB)Ii01001
LF*Jj01010
VT+Kk01011
FFLl01100
CR-Mm01101
SO.Nn01110
SI/Oo01111
DLE0Pp10000
DC11Qq10001
DC22Rr10010
DC33Ss10011
DC44Tt10100
NAK5Uu10101
SYN6Vv10110
ETB7Ww10111
CAN8Xx11000
EM9Yy11001
SUB:Zz11010
ESC;[{11011
FS<\|11100
GS=]}11101
RS>~11110
US?_DEL11111

Sources:


Related