x64汇编第三讲,64位调用约定与函数传参.
一丶复习X86传参
在x86下我们汇编的传参如下:
push eax
call xxx
xxx fun proc
push ebp 保存栈底
mov ebp,esp 设置ebp
sub esp,0C0h 开辟局部变量空间
push ebx 保存寄存器环境
push esi
push
在x86下我们汇编的传参如下:
push eax
call xxx
xxx fun proc
push ebp 保存栈底
mov ebp,esp 设置ebp
sub esp,0C0h 开辟局部变量空间
push ebx 保存寄存器环境
push esi
push