-masm=intel examples

Robert Dewar dewar@gnat.com
Sat May 15 14:21:00 GMT 2004

> 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?

More information about the Gcc mailing list