home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!munnari.oz.au!titan!rhea!aduncan
- From: aduncan@rhea.trl.OZ.AU (Allan Duncan)
- Subject: Re: cmpi.l #,d16(pc) with SAS6asm, A68K, etc
- Message-ID: <1992Nov9.214255.19498@trl.oz.au>
- Sender: root@trl.oz.au (System PRIVILEGED Account)
- Organization: Telecom Research Labs, Melbourne, Australia
- References: <1dlshuINN6f6@werple.apana.org.au>
- Date: Mon, 9 Nov 1992 21:42:55 GMT
- Lines: 17
-
- 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.
-
- Allan Duncan ACSnet a.duncan@trl.oz
- (+613) 253 6708 Internet a.duncan@trl.oz.au
- Fax 253 6664 UUCP {uunet,hplabs,ukc}!munnari!trl.oz.au!a.duncan
- Telecom Research Labs, PO Box 249, Clayton, Victoria, 3168, Australia.
-