This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: $ in GNU as assembler
- From: Laurent Pinchart <laurent dot pinchart at capflow dot com>
- To: binutils-return-17193-laurent dot pinchart=capflow dot com at sources dot redhat dot com
- Cc: binutils at sources dot redhat dot com, sushil <sushil at veritas dot com>
- Date: Tue, 23 Apr 2002 13:45:35 +0200
- Subject: Re: $ in GNU as assembler
- References: <Pine.LNX.4.21.0204231419200.2714-100000@sushil>
- Reply-to: laurent dot pinchart at capflow dot com
>
>
> What is the meaning of $ in the GNU as assembler when it is prefixed
>to a number. For example, what is the difference between
>
A $ prefixing a number means an immediate constant, as opposed to a
memory address.
>mov $0x53, %al
>
Move the value 0x53 to the %al register.
>mov 0x53, %al
>
Move the byte at memory address 0x53 (0x00000053) to the %al register.
Laurent Pinchart