> Most
assemblers haven't got a PRINT statement, so, no, I don't think so.
> Depends upon the environment. Under AmigaOS you have RawDoFmt(), which
is
> part of Exec and available to Assembly language
programmers (and it works
> similar to C's printf()). Under MS-DOS you have INT 21h, funtion 9, which
> prints a text string (ended by a `$'). But all you really need is a way
to
print out
characters, leaving printing of numeric values as a programming
exercise.
Besides, why not steal such stuff from BASIC ROM? On the C64, print a string
from memory by setting A/Y to the localtion and jsr $ab1e, and use the
routine
at $bdcd that LIST uses to print line numbers for
16-bit unsigned int.
This is the kind of thing on the PC that I was ranting about...
C64, my dog ain't in that fight...
Oh well...
-dq