Download Programmer`s Reference Manual
Transcript
Appendix C Graphics The relationship between the ASCII character, its decimal value and its bit image plot is shown in Figure 4. All 8 bits of the data byte are used in all fonts, but some fonts have taller and shorter characters. (You may have to adjust the line spacing in order to print without horizontal gaps.) Data bytes are identified by their binary, octal, hexadecimal, or decimal equivalents. These numeric equivalents are combined in data streams to form graphic patterns such as the one illustrated in Figure 5. ASCII Character A = Decimal Value Binary Code Equivalent 65 128 64 32 16 8 4 2 1 = to Vertically Rotated Data Byte Printed Bit Image MSB = Figure 4. Bit Image Pattern from an ASCII Character Bit image plotting is not limited to printable ASCII characters. You can print bit image patterns for any 8-bit data byte with decimal values ranging from 0 through 255 (hex 00 through hex FF). (The ASCII character set is charted in Appendix A.) 102