Problem with "mov" in GNU GAS
- From: junkoi <spamtrap@xxxxxxxxxx>
- Date: Tue, 25 Mar 2008 01:56:13 -0700 (PDT)
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,
.
- Follow-Ups:
- Re: Problem with "mov" in GNU GAS
- From: Rod Pemberton
- Re: Problem with "mov" in GNU GAS
- From: Phil Carmody
- Re: Problem with "mov" in GNU GAS
- Prev by Date: Re: asm noob needs help compiling tutorial samples!?
- Next by Date: Re: int 0x13 utility
- Previous by thread: Re: Is it possible to address more than 1MB in real-mode
- Next by thread: Re: Problem with "mov" in GNU GAS
- Index(es):
Relevant Pages
|