[fpc-pascal] inline assembler procedure

Tomas Hajny XHajT03 at mbox.vol.cz
Thu Jul 20 17:28:33 CEST 2006


Michael Van Canneyt wrote:
> On Thu, 20 Jul 2006, =?koi8-r?Q?=F0=A3=D4=D2
> =EB=CF=D3=C1=D2=C5=D7=D3=CB=C9=CA?= wrote:
>
>> How can I write inline assembler procedure?
>>
>> (FPC accepts the word "inline", but generates "call" instruction etc.)
>>
>> If there is a way, could anyone point to an example, please?
>
> Currently you cannot inline assembler routines, it is a known restriction.

If nothing else, you can skip the stack frame generation using
"nostackframe" keyword. Not that it would help that much probably...

Tomas




More information about the fpc-pascal mailing list