Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2003-09

align directive in {$asmmode intel} patch

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Nikolay Nikolov

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)

Reply by email

Nikolay Nikolov
to Nikolay Nikolov
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.

Reply by email