Thank you Thomas, I will experiment with {$ASMMODE INTEL}
On Sunday, September 11, 2016, Tomas Hajny <xhaj...@hajny.biz> wrote: > On Sun, September 11, 2016 09:43, Jy V wrote: >> Thank you Jonas, >> so back to my original question, >> is there an asm expert out there who knows if the syntax is invalid, or >> simply the compiler does not implement bt, bts, btr instructions > . > . > > In general, GNU assembler syntax requires you to specify the operand size > in the instruction name. You can use the Intel syntax (i.e. the working > code you tried with DCC) when adding {$ASMMODE INTEL} at the top. You can > also have a look at the translated GNU assembler syntax version by > compiling with command line parameter -a and looking at the generated file > with prefix .s. > > Hope this helps > > Tomas > > > _______________________________________________ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel >
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel