Re: A86: Serious Multiplication
[Prev][Next][Index][Thread]
Re: A86: Serious Multiplication
I didn't think of that until after I posted it :-)
David Phillips wrote:
> Nice routine, Dux! One question, why did you call collect_de when there
> was a carry instead of jumping over it when there wasn't? Wouldn't that
> save 18 t-states (16 if a relative jump), or am I missing something?
>
> At 05:01 PM 8/5/98 -0600, you wrote:
> >Here is a fast multiplication routine. In its worst case, it runs
> >through the loop 8 times. Multiply any h by any l and the result is
> >returned in de; this might be fast enough to drive ray-tracing :-)
> >
> >Attachment Converted: "C:\WINDOWS\DESKTOP\rpmult.asm"
> >
>
> --
> David Phillips
> mailto:electrum@tfs.net
> ICQ: 13811951
> AOL/AIM: electrum32
References: