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

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: m68k assembler


Bruce Adams wrote:
On Tue, Sep 10, 2002 at 11:48:29AM +0100, Bruce Adams wrote:


Thanks.  I can now see that the dialect does not match that of the
code base I wish to port (including some third party source).  Is
there any way I persuade gas to accept my dialect or must I abandon
this endeavor and switch to a commercial product (I feel dirty just
saying that :-).
--register-prefix-optional will "fix" the d0 vs %d0 issue, and a little
sed (or perl) goes a long way in the assembly world for translating
between incompatible assembly formats.

or even TCL, sed's dead baby. :-)
That's not the point though.  I don't what the 'correct' assembly
format is.  The manual is misleading.

This is a tough problem.

Gas format is odd, well different. And because the documentation
covers so many machine types it is hard to decypher what you
should do for a particular machine.

Note: There is a command line switch for gas in the m68k section,
--mri that turns on "MRI" mode. This may solve a lot of your
problems! (But probably not all)

Best regards

Paul Whitfield


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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