[comp.sys.m68k] 32bit integer divide routine for 68010?

young@vlsi.ll.mit.edu (George Young) (09/14/88)

Help!  I need a routine to divide two 32bit integers with a 32bit result
written in 68010 (or 68000) assembler [or even 'c' using no long divides :)].
The 68010 has only 16bit / 16bit --> 32bit integer divide instructions.

I would like my program to behave exactly as when run on a 68020 with full
32bit divide instructions.  This must be an extremely common routine...

Abstract algorithms, source code in asm or c, references, a dozen red roses,
any help would be most appreciated.

George Young,  Rm. B-141		young@ll-vlsi.arpa
MIT Lincoln Laboratory			young@vlsi.ll.mit.edu
244 Wood St.
Lexington, Massachusetts 02173		(617) 981-2756


-- 
George Young,  Rm. B-141		young@ll-vlsi.arpa
MIT Lincoln Laboratory			young@vlsi.ll.mit.edu
244 Wood St.
Lexington, Massachusetts 02173		(617) 981-2756