M68k assembler under cygwin
Thu Dec 19 02:50:00 GMT 2002
>From: William A. Gatliff [mailto:email@example.com]
>Sent: 18 December 2002 16:16
>To: Bruce Adams
>Subject: Re: M68k assembler under cygwin
>Use .equ SYMBOL, EXPRESSION instead of your construct,
>perhaps? From the as info pages:
>File: as.info, Node: Equ, Next: Equiv, Prev: Endif, Up: Pseudo Ops
>`.equ SYMBOL, EXPRESSION'
> This directive sets the value of SYMBOL to EXPRESSION. It
>is synonymous with `.set'; *note `.set': Set..
This does work but I'm surprised that the alternative (and for
me the 'normal' syntax) does not. I'm getting mixed messages on
whether it should or not. Some documentation suggests that GAS
Uses ".equ symbol,value" normally and "symbol equ value" on hppa
but there is example code out there which uses 'my' syntax.
A goolgle search on "gnu as equ .equ m68k" for example throws up
things like link below:
You can appreciate that I'd rather avoid having thousands more #ifdef's
to keep my code portable (as much as possible for assembly that is).
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 'firstname.lastname@example.org' 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 email@example.com
More information about the crossgcc