about binutils2.17- as's .intel_syntax

[email protected]
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <[email protected]>
with '.att_syntax' , the statement :

     mov  $label1 + 2,  %ax

but when with '.intel_syntax', how to write the statement ?
--------------------------------------------------------------------
    .intel_syntax noprefix
    mov  ax, label1+2
even
    .intel_syntax noprefix
    mov  ax, offset label1+2
means
    .intel_syntax noprefix
    mov ax, [label1+2]
;
   .intel_sytax prefix
    mov %ax, $label1 + $2
will result an error that  '$label1 not found';
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.