[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}
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?
    
    
More information about the fpc-pascal
mailing list