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 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
Tue Mar 31 16:50:06 CEST 1998