home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!elroy.jpl.nasa.gov!jato!jdickson
- From: jdickson@jato.jpl.nasa.gov (Jeff Dickson)
- Subject: Re: problem with movea.l
- Message-ID: <1992Aug14.042629.14309@jato.jpl.nasa.gov>
- Organization: Jet Propulsion Laboratory
- References: <1992Aug13.123046.12142@lri.fr> <1992Aug13.194630.12721@dartvax.dartmouth.edu>
- Date: Fri, 14 Aug 1992 04:26:29 GMT
- Lines: 32
-
- In article <1992Aug13.194630.12721@dartvax.dartmouth.edu> abs0@coos.dartmouth.edu (Kelvin Leung) writes:
- >jpr@sun4.lri.fr (Jean-Pierre Riviere) writes:
- >
- >
- >>Do you know of an assembler which would allow me
- >>to have a move and not a movea when the destination
- >>is an address register ?
- >>I can't do that neither with a8k nor Ncode.
- >
- >Just curious, why would you want to do that? I don't have enough
- >experience to tell if 68000 allows you to do that. However, you could
- >write a program which contains self-modifying code (leave some space in
- >your program by putting several lines of "nop"). Try looking up
- >a motorola 68k manual and putting a little code in your program which
- >replaces the "NOP"s with a move.l <ea>,An (I don't know if this will work
- >though...)
- >
- >Good luck,
- >Kelvin
- >e-mail: abs0@coos.dartmouth.edu
-
-
- ...Because, then movement to an address register would too affect the
- condition codes just as they are when a data register or memory location is
- the destination of a move instruction.
-
- Beats me if this is possible. I couldn't see any difference between the
- instruction clock cycles of the two. Probably a hardware constraint, pretty
- stupid (IMHO) if not.
-
- jeff
-
-