This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Special Symbols in AS?
- From: "Ryan Sommers" <ryans at gamersimpact dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 21 Apr 2004 12:45:50 -0600 (MDT)
- Subject: Special Symbols in AS?
Are there any special symbols available in the GAS syntax? I'm writing ax
x86 bootsector and it would be really nice if I could put:
.space (510-$$)
.word 0xaa55
at the end, where $$ represents the current assembled position, instead of
calculating how long the file is and then adjusting it everytime I change
the length.
--
Ryan "leadZERO" Sommers
Gamer's Impact President
ryans@gamersimpact.com
ICQ: 1019590
AIM/MSN: leadZERO
-= http://www.gamersimpact.com =-