Special Symbols in AS?

Ryan Sommers ryans@gamersimpact.com
Wed Apr 21 18:59:00 GMT 2004


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 =-




More information about the Binutils mailing list