home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!rsoft!mindlink!a218
- From: Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Assembler programming.
- Message-ID: <14419@mindlink.bc.ca>
- Date: 19 Aug 92 23:15:06 GMT
- Organization: MIND LINK! - British Columbia, Canada
- Distribution: world
- Lines: 27
-
- 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.
-
-