[A83] Re: HL to string
[Prev][Next][Index][Thread]
[A83] Re: HL to string
Oops. That wasn't an actual code snippet, just to show how it could be done.
Actually storing the unpacked BCD in the upper nibble seems to have been
dumb.. it can be done easier in the lower nibble. I thought I would take
advantage of DAA, but it saves more to take advantage of carry.
In your case using division is probably best, unless you really do need the
speed. If you don't want to load the bcall address of DivHLby10, then you
can copy the routine out of the ROM and paste it into your program.
-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Joe Pemberton
Sent: Saturday, July 07, 2001 8:39 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: HL to string
gah... *confused*
References: