m68k assembler
Bruce Adams
bruadams@tycoint.com
Tue Sep 10 03:59:00 GMT 2002
> -----Original Message-----
> From: Robles Román, José Miguel [mailto:jmrroman@indra.es]
> Sent: 10 September 2002 11:04
> To: Bruce Adams; crossgcc
> Subject: RE: m68k assembler
>
>
> Hi,
> >It rejects a simple equ like the following:
> >
> > Fred .equ 2
> >
> Test .set Fred,2
>
This works.
The using gas manual (what version I do not know) mentions both .equ & .set
in the list of Assembler directives that
"are available regardless of the target machine configuration"
So why isn't .equ supported?
> >If invoked via gcc it also rejects register names in e.g.
> >
> > move.l d0,d1
> >
> Test movel %d0,%d1 or move.l %d0, %d1.
>
This also works.
I have seen this syntax with so called safe register names mentioned
in the manual of another assembler.
> You may see what kind of dialect use GCC with
> m68k-...-objdump -S <obj file>
>
> I hope this helps,
> Regards,
> José Miguel
>
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 :-).
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
More information about the crossgcc
mailing list