Hello,
I have the following code in x64:
MyProc proc Param1, Param2
mov rcx, 0
mov rax, Param1
mov rbx, Param2
ret
MyProc endp
; call my above procedure
stdcall MyProc, 1, 2
The problem is that (of course!) it uses the fastcall convention and put the parameters on registers but I want them on the stack as like I have in 32-bit procedures. I'd like that "stdcall MyProc, 1, 2" generates:
push 2
push 1
call MyProc
How this can be done? I have tried to do some hack on "PROC64.inc" but that's too advanced for me
Would be great to have another calling convention to produce the above like:
Thanks!