home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5136 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.7 KB  |  63 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.shlink.de!wiloyee!chaos
  3. From: chaos@wiloyee.shnet.org
  4. Subject: Re: 68040's Move16
  5. X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
  6. Organization: Studentenhochhaus Wedel Deutschland
  7. Message-ID: <Dnzz11.Dop@wiloyee.shnet.org>
  8. References: <4hks80$4l6@tempo.univ-lyon1.fr> <9603071915.AA001up@harden.demon.co.uk> <4hnhtm$8ub@tempo.univ-lyon1.fr>
  9. Date: Sat, 9 Mar 1996 11:10:12 GMT
  10.  
  11. David Screve (dscreve@ifhamy) wrote:
  12. : Mark Harden (mark@harden.demon.co.uk) wrote:
  13. : : David Screve (dscreve@ifhamy) wrote:
  14. : : : 
  15. : : :     Hello,
  16. : : : 
  17. : : : 
  18. : : :     Does anybody how to use the MOVE16 instruction. This instruction
  19. : : : works on 68040 and higher, but seem to have specifics addressing modes.
  20. : : : 
  21. : : :     Regards,
  22. : : : 
  23. : : : David Screve (dscreve@ifhamy.insa-lyon.fr)
  24.  
  25. move16 (ax)+,(ay)+
  26.  
  27. 1111011000100xxx
  28. 1yyy000000000000
  29.  
  30.                         oo=
  31. move16 (xxx).l,(an)     11
  32. move16 (xxx).l,(an)+    01
  33. move16 (an),(xxx).l    10
  34. move16 (an)+,(xxx).l    00
  35.  
  36. 11110110000oonnn
  37. xxxxxxxxxxxxxxxx
  38. xxxxxxxxxxxxxxxx
  39.  
  40.  
  41. move16 copies one aligned cache line from source to destination. it is 
  42. special because it does not affect the caches. if an operating system
  43. want to move pages physically in memory, such a copy operation would
  44. wipe out all caches. using move16, the caches will not be changed, but
  45. the whole block of memory is transfered in burst mode.
  46.  
  47. i might have misspelled something, if you want to write an assembler
  48. or compiler, or disassembler of some kind, you really should buy the
  49. book
  50.  
  51.  
  52.   programmers reference manual   M68000PM/AD
  53.  
  54.  
  55. it contains all opcodes in binary notation (just like the above). it 
  56. holds no cpu-specific informations like clock cycles, pmmu or cacr-bits.
  57.  
  58.  
  59.  
  60. dierk "chaos" ohlerich
  61.  
  62.