Hi Ramon,
I'm still happily playing with EC :t
A question on the ECInvoke macro :- Does it copy the 4 parameters into the stack shadow space, or does it leave that up to the programmer ? This wasn't clear in the EC help file.
It would be nice to leave that up to the programmer as it would give one more flexibility in manipulating registers etc.., saving a few instruction times.
Thanks
Van
:t :t
Hi Van,
ECInvoke works perfectly well keeping always the stack 16-byte aligned and accepting all type of parameters (which are converted to QWORDS if they are not), but it DOES NOT COPY the 4 parameters into the stack shadow space.
The ECInvoke macro works under the WIN64 specifications, where the invoking code is not responsible for copying the parameters into the stack shadow space, in fact it should not copy them.
Regards,
Ramon