[fpc-pascal] asm in att mode: SECTION:DISP(BASE, INDEX, SCALE)

Bernd Kreuss prof7bit at googlemail.com
Sun Sep 5 21:25:06 CEST 2010

{$asmmode att}
  pushl %fs:0

Error: Invalid Reference Syntax

I am referring to this:

Is this syntax wrong? I remember having seen it exactly in this form in
the .s file before I converted all my code to att syntax.

In intel syntax it was

push fs:[0]

how should this be done in att syntax?

More information about the fpc-pascal mailing list