Math routines for 68K (Khalid Aziz)
17 Sep 91 16:22:21 GMT

          From comp.compilers

Related articles
Math routines for 68K (1991-09-17)
Re: Math routines for 68K (1991-09-19)
Re: Math routines for 68K (1991-09-26)
| List of all articles for this month |

Newsgroups: comp.compilers,comp.sys.m68k
From: (Khalid Aziz)
Keywords: arithmetic, question, 68000
Organization: Colorado State Computer Science Department
Distribution: usa
Date: 17 Sep 91 16:22:21 GMT

Hello everyone:

I need programs or algorithms to do a long division, i.e. divide a 32 bit
by another 32-bit integer, and modulus operation on long integers on 68000.
Both the 32-bit integers can be signed or unsigned. Since 68000 already has
instructions that would divide a 32-bit integer by a 16-bit integer, signed
or unsigned, I would prefer a program that takes advantage of this instruction.

If you have such programs or algorithms, can you please email them to me?

----------------------------------------------------------------------------- Colorado State University
Fort Collins, CO
[The algorithms are all in Knuth, Volume 2. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.