{$asmmode att}
asm
  pushl %fs:0
end;

Error: Invalid Reference Syntax

I am referring to this:
http://www.cs.northwestern.edu/~pdinda/ics-f09/doc/gas-notes.txt

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?

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to