On 04/09/12 14:45, Martin wrote: > > The point I meant to made is: you still need to get the value into that > register, or set up the stack. That can only be done in asm No, you don't need to do anything. Invoke calls the function with the supplied "Args", which is exactly what the assembler code in pascalscript does. Henry