Intel x86 Function-call Conventions – Assembly View中文版

我翻译的中文版本,比较粗糙,但是对于理解Visual C++生成的汇编代码很有帮助。



One of the “big picture” issues in looking at compiled C code is the function-calling conventions. These are the methods that a calling function and a called function agree on how parameters and return values should be passed between them, and how the stack is used by the function itself. The layout of the stack constitutes the “stack frame”, and knowing how this works can go a long way to decoding how something works.


《Intel x86 Function-call Conventions – Assembly View中文版》有2个想法