This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Intermetrics asm68000 to m68k-coff-as


In crossgcc David Greeson <dgreeson@mindspring.com> writes:

>Our current assembler uses the following style,

>    move.l  D1,-(A7) * displacements to arguments must change

>but I had to change the line to this to get it to compile

>    move.l  %D1,-(%A7) /* displacements to arguments must change */

>We have thousands of line of assembler code.  Is there anyway to
>make m68k-coff-as accept the old style?

Use the --register-prefix-optional assembler option.

Be careful not to use register names as symbol names.

Ian