Encoding values from 0 to 1,023 requires 10 bits; 2^10 = 1024. These values were encoded in ASCII, using 5 bits per character, and thus requiring two characters per value, or 4 characters for a complete X,Y coordinate. The encoding scheme was designed to make the coordinate characters safely sent over serial links by assigning each value from the set of ASCII printable characters. X values were assigned the 32 characters between 64 and 95 decimal, mostly the uppercase letters. The Y coordinates are given a similar range from 96 to 127, mostly the lowercase letters. To convert location to an ASCII character code, you add 64 to the X value and 96 to the Y value. High-order bits for either were the same, from the range 32 to 63, mostly numerals and punctuation.