$ in GNU as assembler
Laurent Pinchart
laurent.pinchart@capflow.com
Tue Apr 23 04:44:00 GMT 2002
>
>
> 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
More information about the Binutils
mailing list