On 19 June 2012 23:51, Alex Rønne Petersen <[email protected]> wrote: > On 20-06-2012 00:48, Trass3r wrote: >>> >>> Please be informed that GCC inline asm supports Intel syntax... >> >> >> With -masm=intel. > > > No, you can tell the inline assembler to use Intel syntax from inside code. > Iain showed me how on IRC at some point, but I forget the specifics. > >
iirc, it's:
asm {
".intel_syntax noprefix"
/* Intel syntax here */
".att_syntax"
}
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
