Hello everybody,
I am writing a simple ASM code with GNU GAS. I am having some problems
with mov command. Please could anybody tell me why 2 lines (*) and
(**) are not equivalent?? (currently my code works as expected with
(**), but not with (*)
(My program is in 16bit mode)
---
var:
.long 0xf1234
..code16gcc
movl var, %ecx // (*)
movl $0xf1234, %ecx // (**)
Many thanks,
J
Many thanks,