On 9 August 2010 08:08, Rick C. Hodgin wrote: > Tim, > > Nice. It reads: "3.2.3. Intel syntax - Good news are that starting from > binutils 2.10 release, GAS supports Intel syntax too. It can be > triggered with .intel_syntax directive. Unfortunately this mode is not > documented (yet?) in the official binutils manual, so if you want to use > it, try to examine http://www.lxhp.in-berlin.de/lhpas86.html, which is > an extract from AMD 64bit port of binutils 2.11."
2.11 is quite old now http://sourceware.org/binutils/docs-2.20/as/i386_002dDependent.html > I tried a sample with asm(".intel_syntax; int 3") and it seemed to > compile/assemble that line correctly, instead of asm("int $0x3"). But > my other AT&T syntax commands all failed after that. So, this directive > must be a global setting, and not an instance-by-instance setting. http://sourceware.org/binutils/docs-2.20/as/i386_002dSyntax.html