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

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