trantow@csd4.milw.wisc.edu (Jerry J Trantow) (02/11/89)
Could someone please point me to some references for extended precision arithmetic with the 68000 (and 020). I need to work with QUADs, so that I don't overflow unsigned longs (32bits) during some calculations. I already have working QuadAdd(), QuadMult(), and QuadDiv() assembly routines. I think my QuadAdd() and QuadMult() are fairly good, but it seems like my QuadDiv() could be simplified. I would appreciate any references to 64/32=32 bit division and 32X32=64 bit multiplies. By the way, the 020 instructions make this stuff trivial, but I want to have versions that will work with either processor.