m68k assembler
Bruce Adams
bruadams@tycoint.com
Tue Sep 10 02:36:00 GMT 2002
Hi all,
I'm playing with an alleged cross assembler for m68k (given up on
trying to build the C++ compiler for now )-:
It doesn't seem to recognise assembly at all. This is true whether I use
one I built myself or a downloaded rtems
cross. It is also true whether I invoke the compiler via gcc (with
-xassembly) or invoke e.g. m68k-elf-as directly.
It rejects a simple equ like the following:
Fred .equ 2
If invoked via gcc it also rejects register names in e.g.
move.l d0,d1
I saw an Email that suggested you need to have a set of defines like
#define d0 (0) which
was a little scary. Any idea what's going on?
Regards,
Bruce A.
By the way, I always used to use ";" for comments in 68000 assembly where
does the idea of using "|"
instead for 68000 come from (in the gcc/as manual)? I've never heard of
such a bizarre syntax. I fear I will
need to hack my binutils somewhere (where?) to enable the more familiar
form.
============================================================================
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