next up previous contents
Next: AT&T Syntax Up: Using Assembly language Previous: Using Assembly language

Intel syntax

 

As of version 0.9.7, Free Pascal supports Intel syntax for the Intel family of Ix86 processors in it's asm blocks.

The Intel syntax in your asm block is converted to AT&T syntax by the compiler, after which it is inserted in the compiled source. The supported assembler constructs are a subset of the normal assembly syntax. In what follows we specify what constructs are not supported in Free Pascal, but which exist in Turbo Pascal:

The Intel inline assembler supports the following macros :

@Result
represents the function result return value.
Self
represents the object method pointer in methods.


next up previous contents
Next: AT&T Syntax Up: Using Assembly language Previous: Using Assembly language

Michael Van Canneyt
Thu Sep 10 14:04:11 CEST 1998