This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello,
Gcc use AT&T syntax for inline and sourcecode in assembler. But it is rather different from those used by Intel in their doc.
Some opcode doesn't have the same syntax, or same name, argument passing is different, etc..
asm( ".intel_syntax\n\t" "mov edx, dword *ptr* [ebp+08]\n" ... ".att_syntax")
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |