This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
$ in GNU as assembler
- From: sushil <sushil at veritas dot com>
- To: binutils at sources dot redhat dot com
- Cc: sushil <sushil at veritas dot com>
- Date: Tue, 23 Apr 2002 14:32:09 +0530 (IST)
- Subject: $ in GNU as assembler
Hi All,
What is the meaning of $ in the GNU as assembler when it is prefixed
to a number. For example, what is the difference between
mov $0x53, %al
and
mov 0x53, %al.
I have the following as:
GNU assembler version 2.10.90 (i386-redhat-linux) using BFD version
2.10.0.18
I looked at the info pages of as but could not find this. It only mentions
that since $ has no special meaning it can be used in symbol names, but
says nothing about its meaning when prefixed to a number.
Thank you,
Sushil.