home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!nsd20463
- From: nsd20463@uxa.cso.uiuc.edu (Nicolas S. Dade)
- Subject: Re: problem with movea.l
- References: <1992Aug28.024446.2322@panix.com> <BtrqJF.D7B@news.cso.uiuc.edu>
- Message-ID: <BtvMp1.5H@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Tue, 1 Sep 1992 01:55:48 GMT
- Lines: 23
-
- nsd20463@uxa.cso.uiuc.edu (Nicolas S. Dade) writes:
-
- >>Using those, here is a move.l (a5)+,a0
-
- >>%0010 000 001 011 101
-
- >All this talk is fine, but what happens when you feed this to a 68000?
- >I'll tell you: it punts, and heads straight for the Illegal Op Code
- >exception vector. There ain't no such instruction.
-
- I really messed up with this one. Thanks to Jesse for pointing it out
- to me so nicely.
-
- There is an instruction which corresponds to this bit pattern:
- movea.l (a5)+,a0; the 68000 will not punt, and it will not head for
- anything more than the instruction at (pc)+.
-
- However it will not set the CCR to reflect the number loaded into a0,
- which is the behavior prescribed by the general move instruction.
-
- >>Jesse
- >-Nicolas Dade
- -Nicolas Dade
-