home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12290 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.1 KB

  1. Path: sparky!uunet!sun-barr!ames!purdue!hsdndev!dartvax!coos.dartmouth.edu!abs0
  2. From: abs0@coos.dartmouth.edu (Kelvin Leung)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: problem with movea.l
  5. Message-ID: <1992Aug13.194630.12721@dartvax.dartmouth.edu>
  6. Date: 13 Aug 92 19:46:30 GMT
  7. References: <1992Aug13.123046.12142@lri.fr>
  8. Sender: news@dartvax.dartmouth.edu (The News Manager)
  9. Organization: Dartmouth College, Hanover, NH
  10. Lines: 19
  11.  
  12. jpr@sun4.lri.fr (Jean-Pierre Riviere) writes:
  13.  
  14.  
  15. >Do you know of an assembler which would allow me
  16. >to have a move and not a movea when the destination
  17. >is an address register ?
  18. >I can't do that neither with a8k nor Ncode.
  19.  
  20. Just curious, why would you want to do that?  I don't have enough
  21. experience to tell if 68000 allows you to do that.  However, you could
  22. write a program which contains self-modifying code (leave some space in
  23. your program by putting several lines of "nop").  Try looking up
  24. a motorola 68k manual and putting a little code in your program which
  25. replaces the "NOP"s with a move.l <ea>,An  (I don't know if this will work
  26. though...)
  27.  
  28. Good luck,
  29. Kelvin
  30. e-mail: abs0@coos.dartmouth.edu
  31.