Next: 11.2 Assembler procedures and
Up: 11. Using assembler
Previous: 11. Using assembler
The following is an example of assembler inclusion in your code.
...
Statements;
...
Asm
your asm code here
...
end;
...
Statements;
The assembler instructions between the Asm and end keywords will
be inserted in the assembler generated by the compiler.
You can still use conditionals in your assembler, the compiler will
recognise it, and treat it as any other conditionals.
Remark: Before version 0.99.1, Free Pascal did not support
reference to variables by their names in the assembler parts of your code.
root
1999-06-10