List Info

Thread: about binutils2.17- as's .intel_syntax




about binutils2.17- as's .intel_syntax
country flaguser name
China
2007-03-29 10:04:17
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';


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )