home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12496 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.8 KB

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