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';

Reply via email to