This is the mail archive of the
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
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
mov 0x53, %al.
I have the following as:
GNU assembler version 2.10.90 (i386-redhat-linux) using BFD version
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.