home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!concert!sas!mozart.unx.sas.com!jamie
- From: jamie@cdevil.unx.sas.com (James Cooper)
- Subject: Re: cmpi.l #,d16(pc) with SAS6asm, A68K, etc
- Originator: jamie@cdevil.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <BxI92w.uK@unx.sas.com>
- Date: Tue, 10 Nov 1992 14:47:20 GMT
- References: <1dlshuINN6f6@werple.apana.org.au> <1992Nov9.214255.19498@trl.oz.au>
- Nntp-Posting-Host: cdevil.unx.sas.com
- Organization: SAS Institute Inc.
- Lines: 26
-
-
- In article <1992Nov9.214255.19498@trl.oz.au>, aduncan@rhea.trl.OZ.AU (Allan Duncan) writes:
- >From article <1dlshuINN6f6@werple.apana.org.au>, by bytey@werple.apana.org.au (Chris Hames):
- >> It seems most assemblers think cmpi.l #,d16(pc) is an invalid
- >> instruction when it is valid as far as I know and good old Aztec will
- >> pass it and Resource will disassemble.
- >>
- >> So are the assemblers just assuming that because most of the time the
- >> stuff on the right is a destination and hence cannot be pc relative or is
- >> it only available on 68020+ or something ?
- >
- >It is not a valid addressing mode for the 68K - I haven't got the '020
- >book here to check on whether it became valid for it.
- >CMP and CMPA both support it, but I presume you know that.
-
- Interesting. The "M68000 Programmer's Reference Manual" from Motorola
- shows this as a valid addressing mode for this instruction for the whole
- M68000 family...
-
- --
- ---------------
- Jim Cooper
- (jamie@unx.sas.com) bix: jcooper
-
- Any opinions expressed herein are mine (Mine, all mine! Ha, ha, ha!),
- and not necessarily those of my employer.
-