Print the 8-bit number in X to 3 digits, left-padding with spaces for numbers
with fewer than 3 digits (so numbers < 100 are right-aligned). Optionally
include a decimal point.
Arguments:XThe number to printC flagIf set, include a decimal point Other entry points:pr2+2Print the 8-bit number in X to the number of digits in A
.pr2LDA#3\ Set A to the number of digits (3)LDY#0\ Zero the Y register, so we can fall through into TT11\ to print the 16-bit number (Y X) to 3 digits, which\ effectively prints X to 3 digits as the high byte is\ zero