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] |
> > 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 > Forgive my ignorance but what is MRI mode (Magnetic Resonance Imaging?) Nevermind, found it "Microtec Research" compatibility mode. Still not sure about the I though :-) http://www.oarcorp.com/rtems/releases/4.5.0/rtemsdoc-4.5.0/share/toolsdoc/ht ml/as/a00029.html I've surfed around and found a lot of people having similar problems to me but not a single answer. The number of times the question comes up it ought to be in a FAQ. Just try searching for "operands mismatch" in google (or google groups) and you'll see what I mean An example my specific problem which may or may not be the same is: Error: operands mismatch -- statement 'cmp.b (a0),d7' Oddly it accepts move.b in 'move.b (a0),d7'. Any ideas? Regards, Bruce A. ============================================================================ Any opinions expressed in this e-mail are those of the individual and not necessarily those of Tyco Electronic Product Group. Any prices for the supply of goods or services are only valid if supported by a formal written quotation. This e-mail and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from Tyco Electronic Product Group are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivery to the intended recipient, be advised that you have received this e-mail in error and that any use is strictly prohibited. In this event, please notify us via e-mail at 'helpdesk.tepg@tycoint.com' or telephone on 0121 255 6499 and then delete the e-mail and any copies of it. ============================================================================ ------ 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] |