汇编
yiruirui0507
一个喜欢矛盾的人。
展开
-
Talk:X86 calling conventions
From Wikipedia, the free encyclopediaJump to: navigation, searchContents[hide]1History/meaning of cdecl?2return value in EAX3thiscall4stdcall5Standard Entry Sequence6Pascal == Stdcall ??7Custom calling conventions8Case Sensitivity9Visual Studio 200710Abstr转载 2010-08-20 22:39:00 · 1144 阅读 · 0 评论 -
x86 calling conventions
From Wikipedia, the free encyclopediaJump to: navigation, search<br />This article describes, in computing, the calling conventions used on the x86 architecture.<br />Calling conventions describe the interface of called code:The order in which parameters a原创 2010-08-20 22:34:00 · 2463 阅读 · 0 评论 -
关于LEA指令
堆栈种分配的局部变量所谓的“标号”,你以为是什么?(都是那些该死的宏惹的祸,大家要都是老老实实写代码,就不会有这些疑问了)。 比如你用local在栈上定义了一个局部变量LocalVar,你知道实际的指令是什么么?一般都差不多像下面的样子: push ebp mov esp, ebp sub esp, 4 现在栈上就有了4各字节的空间,这就是你的局部变量。 接下来,你执行mov LocalVar, 4,那么实转载 2011-02-18 13:25:00 · 4370 阅读 · 0 评论