Thanks a ton, you are my hero!

Thanks,
Tassilo



> caller saves, so function is free to use any register.  params are put
> on the stack and then just uses a call instruction wich leaves the
> return pc on the stack.  function allocates space for its local
> variables on the stack and restores SP before return.  return value of
> a function is put in AX (for integers and pointers).  structures and
> 64bit vlongs are returned the way that the caller allocates it and
> passes a pointer to it as the first parameter (on the stack).  AX is
> then not used as return value and can be used freely in the callee.
>
> --
> cinap
>


Reply via email to