home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12928 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.2 KB  |  35 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!nsd20463
  3. From: nsd20463@uxa.cso.uiuc.edu (Nicolas S. Dade)
  4. Subject: Re: problem with movea.l
  5. References: <1992Aug28.024446.2322@panix.com> <BtrqJF.D7B@news.cso.uiuc.edu>
  6. Message-ID: <BtvMp1.5H@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Date: Tue, 1 Sep 1992 01:55:48 GMT
  10. Lines: 23
  11.  
  12. nsd20463@uxa.cso.uiuc.edu (Nicolas S. Dade) writes:
  13.  
  14. >>Using those, here is a move.l (a5)+,a0
  15.  
  16. >>%0010 000 001 011 101
  17.  
  18. >All this talk is fine, but what happens when you feed this to a 68000?
  19. >I'll tell you: it punts, and heads straight for the Illegal Op Code
  20. >exception vector. There ain't no such instruction.
  21.  
  22. I really messed up with this one. Thanks to Jesse for pointing it out
  23. to me so nicely.
  24.  
  25. There is an instruction which corresponds to this bit pattern: 
  26. movea.l (a5)+,a0; the 68000 will not punt, and it will not head for
  27. anything more than the instruction at (pc)+.
  28.  
  29. However it will not set the CCR to reflect the number loaded into a0,
  30. which is the behavior prescribed by the general move instruction.
  31.  
  32. >>Jesse
  33. >-Nicolas Dade
  34. -Nicolas Dade
  35.