Lines Matching refs:AT
26 * i386-Syntax:: AT&T Syntax versus Intel Syntax
36 * i386-Bugs:: AT&T Syntax bugs
82 @section AT&T Syntax versus Intel Syntax
99 back to the usual AT&T mode for compatibility with the output of
102 require a @samp{%} prefix. AT&T System V/386 assembler syntax is quite
124 AT&T immediate operands are preceded by @samp{$}; Intel immediate
125 operands are undelimited (Intel @samp{push 4} is AT&T @samp{pushl $4}).
126 AT&T register operands are preceded by @samp{%}; Intel register operands
127 are undelimited. AT&T absolute (as opposed to PC relative) jump/call
135 AT&T and Intel syntax use the opposite order for source and destination
149 In AT&T syntax the size of memory operands is determined from the last
155 Intel @samp{mov al, byte ptr @var{foo}} is @samp{movb @var{foo}, %al} in AT&T
164 @samp{lcall/ljmp $@var{section}, $@var{offset}} in AT&T syntax; the
168 is @samp{lret $@var{stack-adjust}} in AT&T syntax; Intel syntax is
176 The AT&T assembler does not provide support for multiple section
195 @samp{movw $1, bx}. Note that this is incompatible with the AT&T Unix
200 Almost all instructions have the same names in AT&T and Intel format.
204 is accomplished by using two instruction mnemonic suffixes in AT&T
206 @samp{movs@dots{}} and @samp{movz@dots{}} in AT&T syntax (@samp{movsx}
209 @emph{to} suffix. Thus, @samp{movsbl %al, %edx} is AT&T syntax for
246 @samp{cqto} in AT&T naming. @code{@value{AS}} accepts either naming for these
254 AT&T syntax, but are @samp{call far} and @samp{jump far} in Intel
437 is translated into the AT&T syntax
451 defaults). Note that section overrides in AT&T syntax @emph{must}
458 Here are some examples of Intel and AT&T style memory references:
461 @item AT&T: @samp{-4(%ebp)}, Intel: @samp{[ebp - 4]}
466 @item AT&T: @samp{foo(,%eax,4)}, Intel: @samp{[foo + eax*4]}
471 @item AT&T: @samp{foo(,1)}; Intel @samp{[foo]}
476 @item AT&T: @samp{%gs:foo}; Intel @samp{gs:foo}
495 @item AT&T: @samp{1234(%rip)}, Intel: @samp{[rip + 1234]}
499 @item AT&T: @samp{symbol(%rip)}, Intel: @samp{[rip + symbol]}
526 not use them) you may get an error message (and incorrect code). The AT&T
675 @section AT&T Syntax bugs
677 The UnixWare assembler, and probably other AT&T derived ix86 Unix