home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15582 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.3 KB  |  29 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!munnari.oz.au!titan!rhea!aduncan
  3. From: aduncan@rhea.trl.OZ.AU (Allan Duncan)
  4. Subject: Re: cmpi.l #,d16(pc) with SAS6asm, A68K, etc
  5. Message-ID: <1992Nov9.214255.19498@trl.oz.au>
  6. Sender: root@trl.oz.au (System PRIVILEGED Account)
  7. Organization: Telecom Research Labs, Melbourne, Australia
  8. References: <1dlshuINN6f6@werple.apana.org.au>
  9. Date: Mon, 9 Nov 1992 21:42:55 GMT
  10. Lines: 17
  11.  
  12. From article <1dlshuINN6f6@werple.apana.org.au>, by bytey@werple.apana.org.au (Chris Hames):
  13. >     It seems most assemblers think cmpi.l #,d16(pc) is an invalid
  14. > instruction when it is valid as far as I know and good old Aztec will
  15. > pass it and Resource will disassemble.
  16. >     So are the assemblers just assuming that because most of the time the
  17. > stuff on the right is a destination and hence cannot be pc relative or is
  18. > it only available on 68020+ or something ?
  19.  
  20. It is not a valid addressing mode for the 68K - I haven't got the '020
  21. book here to check on whether it became valid for it.
  22. CMP and CMPA both support it, but I presume you know that.
  23.  
  24. Allan Duncan        ACSnet     a.duncan@trl.oz
  25. (+613) 253 6708        Internet a.duncan@trl.oz.au
  26. Fax    253 6664        UUCP     {uunet,hplabs,ukc}!munnari!trl.oz.au!a.duncan
  27.     Telecom Research Labs, PO Box 249, Clayton, Victoria, 3168, Australia.
  28.