Path: utzoo!attcan!uunet!tank!ncar!mailrus!ames!ll-xn!vlsi!young From: young@vlsi.ll.mit.edu (George Young) Newsgroups: comp.sys.m68k,sci.math.num-analysis Subject: 32bit integer divide routine for 68010? Keywords: divide,integer Message-ID: <165@vlsi.ll.mit.edu> Date: 14 Sep 88 16:42:43 GMT Reply-To: young@ll-vlsi.arpa.UUCP (George Young) Distribution: comp Organization: MIT Lincoln Laboratory, Lexington MA Lines: 21 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