home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15703 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.3 KB

  1. Path: sparky!uunet!portal!cup.portal.com!Aurelius
  2. From: Aurelius@cup.portal.com (Mark Christian Barnes)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: cmpi.l #,d16(pc) with SAS6asm, A68K, etc
  5. Message-ID: <69309@cup.portal.com>
  6. Date: Wed, 11 Nov 92 12:38:04 PST
  7. Organization: The Portal System (TM)
  8. Distribution: world
  9. References: <1dlshuINN6f6@werple.apana.org.au>
  10.   <1992Nov9.214255.19498@trl.oz.au> <BxI92w.uK@unx.sas.com>
  11. Lines: 28
  12.  
  13.  Jim Cooper writes:
  14.  
  15. |Interesting.  The "M68000 Programmer's Reference Manual" from Motorola
  16. |shows this as a valid addressing mode for this instruction for the whole
  17. |M68000 family...
  18. |-- --------------- 
  19. |Jim Cooper
  20. |(jamie@unx.sas.com)                             bix: jcooper
  21.  
  22.  My copy of the M68000 Programmer's Reference Manual, 5th edition,
  23. published in 1986 states:
  24.  
  25. BEGIN QUOTE (quoted without permission)
  26.  
  27. Only data alterable addressing modes are allowed as shown:
  28.  
  29.             Addr. Mode        Mode    Register
  30.  ========================================================
  31.  CMPI #<data>,(d16,An)        101    reg. number:An
  32.  CMPI #<data>,(d8,An,Xn)    110    reg. number:An
  33.  CMPI #<data>,(d16,PC)        ---    --------------
  34.  CMPI #<data>,(d8,PC,Xn)    ---    --------------
  35.  
  36. END QUOTE
  37.  
  38.  This applies to the 68000, 68008, 68010, 68012 processors.
  39.  
  40.             Regards, Aurelius@cup.portal.com
  41.