home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12783 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  795 b 

  1. Path: sparky!uunet!newsstand.cit.cornell.edu!vax5.cit.cornell.edu!tcd
  2. From: tcd@vax5.cit.cornell.edu
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Using/restoring A5 okay?
  5. Message-ID: <1992Jul21.144352.13883@vax5.cit.cornell.edu>
  6. Date: 21 Jul 92 14:43:52 EDT
  7. Distribution: comp
  8. Organization: Cornell University
  9. Lines: 9
  10.  
  11.      From what I gather, code that executes during interupts cannot assume
  12. that A5 is valid.  From this, I assume that it's okay for a subroutine
  13. that doesn't call anything else, to use A5 as a scratch register, as
  14. long as it restores A5 on exit.  Is this correct?  The subroutine in
  15. question just moves some bits around and it would be nice to have another
  16. address register to work with.  Is there any problem with using A5?
  17. Thanks,
  18. Tim Dorcey
  19. tcd@cornellc.cit.cornell.edu 
  20.