home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!gatech!rutgers!bagate!cbmvax!cbmehq!cbmden!kehlet!kehlet
- From: kehlet@kehlet.adsp.sub.org (Jesper Kehlet)
- Newsgroups: adsp.sw,comp.sys.amiga.programmer
- Subject: Re: Exception handler example
- Message-ID: <kehlet.06cu@kehlet.adsp.sub.org>
- Date: 18 Aug 92 19:14:26 GMT
- References: <kehlet.065m@kehlet.adsp.sub.org> <epang.713916164@sfu.ca>
- Distribution: adsp,world
- Organization: Compos Mentis Software Systems
- Lines: 34
- X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith
-
- In article <epang.713916164@sfu.ca> epang@fraser.sfu.ca (Eugene Pang) writes:
-
- > You should also remind people that it's only for the DIVU/DIVS divide by
- > zero exceptions. It doesn't handle the DIVSL & DIVUL (32 bit) divide
- > instructions (found on the '020 and above).
- >
- > To add support would involve more than what I'm going to go into, but it would
- > start with the following btst's:
- >
- > #6 - 1==DIVU/DIVS
- > #8 - 1==DIVS
- > - 0==DIVU
- > 0==DIVSL/DIVUL
- > #11 - 1==DIVSL
- > 0==DIVUL
- >
- > Then there's testing for 32 bit or 64 bit dividend, which register to store
- > the result, ... Certainly doable, but I'm not volunteering. :-)
-
- I would like to do this, but as I wrote this one, my copy of Motorola
- Programmers Handbook was returned to it's owner, so now I don't even have
- the 68000 tables anymore.
-
- Got to buy that one myself, though, covering CPU32, 68008, 68000-68040,
- 881-882 FPUs and the 851 MMU -- it's really useful!
-
-
- --
- Jesper Kehlet, Compos Mentis Software Systems -- A Kind Of Magic
-
- (uunet|pyramid|rutgers)!cbmvax!cbmehq!cbmden!kehlet!kehlet
- cbmehq!cbmden!kehlet!kehlet@cbmvax.commodore.com
-
- As long as I speak for myself, my employees can do that, too...
-