CSC448: Code Generation: Learning via GCC III [63/133] Previous pageContentsNext page

Unfortunately GCC generates AT&T syntax x86 assembly language. The GNU assembler (as) can accept either AT&T or Intel syntax.

There are differences in operand order and addressing modes syntax, see the GNU AS documentation for .intel_syntax in /Machine Dependencies/i386-Dependent/i386-Syntax.

Previous pageContentsNext page