Am Thursday 09 August 2012 15:14:29 schrieb Jonas Maebe: > Rainer Stratmann wrote on Thu, 09 Aug 2012: > > How is it possible to put some inline bytes in the code like the former > > inline( $1f , $ef , $1A ); > > instruction? > > {$asmmode att} > asm > .byte $0x1f, $0xef, $0x1a > end; > > {$asmmode intel} > asm > db $1a, $ef, $1a > end;
Thanks, the next problem then is: I wanted to do that in an inline procedure but if the compiler detects an asm statement then inline is disabled(!). _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal