Previous: Assembler Procedure To the Table of Content Next: Command Syntax

- 2.3.3 -
TMT Pascal Language Description
Built-in Assembler

Code Procedure

Besides the assembler-routine you can use the code-routine. It has the following differences: the compiler doesn't emit the frame command on enter and return from the routine (including the ret command), and the local parameters are based on ESP on the moment of entry.

Example:
function hi (n: word); code;
asm
  mov al, byte ptr [n+1]
  ret
end;



Previous: Assembler Procedure To the Table of Content Next: Command Syntax
Assembler Procedure Table of Content Command Syntax

- 2.3.3 -