... Statements; ... Asm the asm code here ... end; ... Statements;The assembler instructions between the Asm and end keywords will be inserted in the assembler generated by the compiler. Conditionals can be used ib assembler, the compiler will recognise it, and treat it as any other conditionals.
The code generator does not generate any stack frame (entry and exit code for the routine) if it contains no local variables and no parameters. In the case of functions, ordinal values must be returned in the accumulator. In the case of floating point values, these depend on the target processor and emulation options.