Re: LZ: A number printing routine
[Prev][Next][Index][Thread]
Re: LZ: A number printing routine
> Does anyone have a routine that will print the value in the
> accumulator as a three-digit number? (Or am I just stupid?) It
> needs to be able to print 0 up through 255... help?
I'm not sure if there's some routine you can call...
... but it shouldn't be hard to write. You can separate it into three
steps: finding the value in each place, converting it to a character, and
printing it.
I doubt this helps any, but there you are.
/***********************************
* Daniel Knapp *
* FeatherWate Software *
* email: dankna@bergen.org *
* *
* Whose account this is, *
* I think I know. *
* The sysop is in Berkely, though. *
* She will not see me typing here, *
* To watch this Mac *
* Refuse to go. *
***********************************/
References: