Re: Aw: Re: Aw: [stella] BCD to pointer.

Subject: Re: Aw: Re: Aw: [stella] BCD to pointer.
From: happy_dude@xxxxxxxxxxxxx
Date: Thu, 13 May 2004 19:09:57 +1000
cybergoth@xxxxxxxx wrote:
> Not sure. Wouldn't that divide the higher nibble by 10 and then multiply it
> by 5 again? So maybe it's just a single LSR and you're done?!?
Not sure about the divide (wouldn't 4 lsr's be 16), I just know it moves the 
value into the low nybble where I can treat it like the first value.
And the original 8 line code had 1 lsr so I would need to sbc temp to get div
by 5 but it's not that easy in practice :-(
----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread