Mail Archives: djgpp/2001/04/30/06:25:04
On Sun, 29 Apr 2001, Norberto Alfredo Bensa wrote:
> > Second thing is that GCC doesn't support native for x86 CPU assembly
> > language syntax but instead it supports AT&T syntax wich is more complicated
>
> It does, if you use binutils 2.10 or later... or am I missing something?
You are missing something. Gas, the GNU assembler which comes with
Binutils 2.10 does indeed support Intel syntax, but for _inline_
assembly, you need GCC to invoke Gas with an approriate option, and to
be able to translate its extended inline assembly facilities into
Intel syntax as well. Since GCC doesn't do that (AFAIK), inline
assembly is still limited to AT&T syntax.
- Raw text -