Sign in Join

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

Mailing lists / fpc-pascal / 2004-06

Align instruction

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Marcel Martin
to Peter Vreman
Peter Vreman wrote 7 lines
> Hello, > > With v1.9.4, is there a way to align a label in an assembler > procedure? .align, .balign or .p2align

I forgot to tell "with {$ASMMODE INTEL}". But if I understand you well, in order to use aligned labels, I have to (re-)write the code with the AT&T assembler. Fortunately the .s files do exist :-)

Thanks,

Peter Vreman
to Marcel Martin
Show quoted text 12 lines
Peter Vreman a écrit : > > > Hello, > > > > With v1.9.4, is there a way to align a label in an assembler > > procedure? > > .align, .balign or .p2align I forgot to tell "with {$ASMMODE INTEL}". But if I understand you well, in order to use aligned labels, I have to (re-)write the code with the AT&T assembler. Fortunately the .s files do exist :-)

Added support for the ALIGN directive also to asmmode intel.

Marcel Martin
to Peter Vreman
Peter Vreman wrote
Added support for the ALIGN directive also to asmmode intel.

Thanks.

BTW, nobody answered about the problem with "Level 2 Optimizations" I reported here a few days ago. Is it a bug of the compiler? I ask the question because at the moment I am sure of nothing (sometimes my PC is very creative :-)

Jonas Maebe
to Marcel Martin
Marcel Martin wrote
BTW, nobody answered about the problem with "Level 2 Optimizations" I reported here a few days ago. Is it a bug of the compiler? I ask the question because at the moment I am sure of nothing (sometimes my PC is very creative :-)

Yes, it's most likely a compiler bug. I haven't had the time to look at it yet though. If possible, please enter it in the bug tracking system so it won't be forgotten. I'm not sure why you said you thought it's not possible to use the bug report form.

Jonas