This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -masm=intel examples
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, llewelly at xmission dot com
- Cc: fw at deneb dot enyo dot de, gcc at gcc dot gnu dot org, marpet at naex dot sk
- Date: Sat, 15 May 2004 10:21:30 -0400 (EDT)
- Subject: Re: -masm=intel examples
> Wasn't this mentioned briefly in the loong thread about CW-style asm
> syntax?
Yes indeed it was, and it is certainly a reasonable proposal.
In fact assembler programmers are more likely to be aware of
the standard Intel syntax (they are allowed to set the standard,
it's their chip design :-) than the relatively strange AT&T
syntax (strange to intel programmers!)
But it is a fair amount of work to implement this.
In fact for teaching using GCC, it would be really nice to have
this syntax available for ASM insertions.
Are there any text books (suitable for teaching from) that use
AT&T syntax for Intel?