[A83] Re: Converting a 4-byte number to a string


[Prev][Next][Index][Thread]

[A83] Re: Converting a 4-byte number to a string




It's probably not the most efficient way, but you could copy it to OP1 (11
bytes if my memory serves me right), and then display op1 with
bcall(_DispOP1A).
Just load two bytes at a time into hl and then copy them into op1
(multiplying the 3 bytes for the higher part of the number by 256)

-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of D Weiss
Sent: Tuesday, February 27, 2001 6:01 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Converting a 4-byte number to a string



How do you convert an unsigned 4 byte number (score) to a string to display?

Score: .db 0,0,0,0

String: .db 0,0,0,0,0,0,0,0,0,0,0,0,0
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com







References: