home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!cc-server4.massey.ac.nz!acmebbs!dogbox!dave
- From: dave@dogbox.acme.gen.nz (David Dustin)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: 64bit / 32 bit = 32 bit code for 68000
- Message-ID: <B0aTTB1w165w@dogbox.acme.gen.nz>
- Date: Fri, 06 Nov 92 22:06:22 +1300
- References: <monster.05lw@mbear.apana.org.au>
- Organization: The Dawghaus BBS, Palmerston North, New Zealand (+64 6 357 9245)
- Lines: 22
-
- monster@mbear.apana.org.au (Martin Ozolins) writes:
-
- > Could someone EMail me some examples of how to do
- >
- > 64 bit / 32bit = 32bit Divide code for assembler for a 68000 processor.
- > I need it so that I can write my program to run on either a 680x0 or 68000 sy
- > I already have a 32 * 32 = 64 bit Mul routine so I only need the above.
-
- Why don't you do what I did. Wrote a routine which made use of a 2.x
- functions (in your case, there is a call in the utility.library), and
- then Run it through a De-bugger. :)
-
- That way, you can make a dump of the ROM call, and this write your own
- one, so your programs can work on earlier machines. Mine checks to see
- if the system is 2.04+ and if so, it uses the ROM version, otherwise it
- uses the routine that I have included in my program.
-
- :)ave
-
- --
- David Dustin | "Nice jail. Looks strong."
- Dave@Dogbox.acme.gen.nz | - H. Houdini
-