StdCall pascal cdecl 区别:参数传入Stack的顺序有所不同
Directive Parameter order Clean-up Passes parameters in registers?
register Left-to-right Routine Yes
pascal Left-to-right Routine No
cdecl Right-to-left Caller No
stdcall Right-to-left Routine No
safecall Right-to-left Routine No
整理:lzcx
博客介绍了StdCall、pascal、cdecl等调用约定的区别,主要体现在参数传入Stack的顺序、清理方式以及是否通过寄存器传递参数等方面。如pascal是从左到右传入参数,由Routine清理,不通过寄存器传参。
202

被折叠的 条评论
为什么被折叠?



