home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jato!jdickson
- From: jdickson@jato.jpl.nasa.gov (Jeff Dickson)
- Subject: Re: Assembler programming.
- Message-ID: <1992Aug20.174409.990@jato.jpl.nasa.gov>
- Organization: Jet Propulsion Laboratory
- References: <14419@mindlink.bc.ca>
- Date: Thu, 20 Aug 1992 17:44:09 GMT
- Lines: 36
-
- In article <14419@mindlink.bc.ca> Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs) writes:
- >In article <1676@grivel.une.edu.au> cfiddyme@neumann.une.edu.au
- >(Chris Fiddyment) writes:
- >
- >> Has anyone had a look at the disks brought out by the Amiga Coders Club.
- >> They are from England. I am a beggining assembler programmer and need some
- >> help compiling them with A68k.
- >> e.g. This line gives the error:
- >> MOVE.L (a0,d0),d0
- >> ^ Undefined symbol.
- >
- > The displacement is missing and A68k is getting confused.
- >The displacement is not optional on the 68000. Some assemblers,
- >however, default it to zero. A68k does not. Someday I might find
- >the time to change this, but that will require a totally different
- >behaviour than when generating code for the 68020 and higher; these
- >processors allow you to omit the displacement from the generated
- >machine code as well.
- >
- > For now, change the line to this:
- >
- > MOVE.L 0(a0,d0),d0
- >
- >This is guaranteed to work on any assembler.
- >
- >Charlie_Gibbs@mindlink.bc.ca
- >I used to be indecisive, but now I'm not so sure.
- >
-
- That's strange. I have a book on the 68000 (by Sybex I think) that
- states that address indirect with index and address indirect with index and
- displacement are two seperate addressing modes. This is news to me.
-
- jeff
-
-
-