Ascii Code
Ascii Code
Our starting point is to write down the first few integers and underneath them give
their binary form. Also we add a third row giving the 26 letters of the alphabet
written in sequential order. We summarize this information in the following three
tables -
1 2 3 4 5 6 7 8 9 10
0 10 11 100 101 110 111 1000 1001 1010
A B C D E F G H I J
11 12 13 14 15 16 17 18 19 20
1011 1100 1101 1110 1111 10000 10001 10010 10011 10100
K L M N O P Q R S T
21 22 23 24 25 26
10101 10111 11000 110001 110010 110111
U V W X Y Z
Now the major idea behind ASCII is that we can assign a number for each letter
of the alphabet and then convert it to binary form. The difficulty, as seen from the
above tables, is that one can not yet distinguish between a binary expression
being a number or letter. Certainly, as things stand, 110001 could refer to either
the number 24 or the letter X. Likewise 1000 could be 8 or H. To remedy this
difficulty ASCII lengthens the number of bits for each element to eight and then
replaces the first three digits on the left by 010 to indicate a letter. Thus the letter
M in binary reads 01001101 and S in binary is 01010011. A number has the first
four symbols on the left replaced by 0011. That is, the number 2 is written as
00110010. Using eight elements to represent a letter or number allows extra
space for punctuation marks, small letters, and mathematical operation signs.
The basic idea behind the ASCII coding procedure is that each symbol has a
specific binary number attached to it. The original ASCII coding of 1963 involved
128 characters . Later extensions added several hundred more. If you convert
the binary 01010011 into decimal, one gets the ASCII number of 83. Thus S in
ASCII is 83 which converts to 01010011 in binary. There are available on the
internet numerous conversion tables. One of the best is found at-
http://www.rapidtables.com/convert/number/ascii-hex-bin-dec-converter.htm
This link allows rapid conversion from ASCII to binary to decimal . One recovers
the ASCII symbol by converting the binary. Thus the binary representation
00110111 yields 55 in ASCII and corresponds to the decimal 7. We could of
course have anticipated this result by noting from the above tables that the
ending 111 in binary corresponds to the decimal number 7. Had one changed
the fourth symbol on the left in the binary expansion toy 0 , the expansion would
correspond to the letter G. Whole phrases can be readily converted into binary
form by using the conversion table. So, for instance, the distress signal SOS
would read-
in binary. Although this chain is quite a bit longer than the Morse Code signal-
it is far superior in the sense that eight bit representations allow for the inclusion
of numerous additional symbols . A few of these additional symbols, expressed
in binary, are-
You will recognize at once that the grouping of the first eight bits indicates
a letter (010) and from the above tables its extention of 10100 is found in the 20-
T column. Thus the letter is T.
U.H.Kurzweg
October 8, 2017