[fpc-devel]align directive in {$asmmode intel} patch

Nikolay Nikolov nickysn1983 at netscape.net
Sat Sep 13 12:24:06 CEST 2003


I wrote:

> I made a patch that adds an 'align' directive in {$asmmode intel}, it 
> is the same as '.balign' on {$asmmode att}.
> I also enabled .bss aligning in the nasm writer. (using alignb) 

oops, made a mistake in the patch I submitted. after applying the patch, 
change line 478 in ag386nsm.pas from
                  AsmWrite(','+tostr(tai_align(hp).fillop));
to:
                  AsmWrite(',db '+tostr(tai_align(hp).fillop));

that's the correct nasm syntax.





More information about the fpc-devel mailing list