ncoplin@orbeng.com wrote:
> Does any one have a short assembly routine for converting an 8bit unsigned
> binary number (0-255) to ASCII?
>
> The BASIC ROM only seems to have floating to ASCII conversion...
There's this one...
lda highbyte (or in your case, #0)
ldx lowbyte
jsr $bdcd
It prints out the string as well - not sure if you want that,
and not sure how to get around it if you don't :)
--
Robin Harbron macbeth@psw.ca
http://www.tbaytel.net/macbeth
http://www.psw.ca/
Listen to my band at:
http://www.mp3.com/Transparencies
Message was sent through the cbm-hackers mailing list
Archive generated by hypermail 2.1.1.