8: void demo_stackframe(int a,int b,int c) {
00401070 push ebp
00401071 mov ebp,esp
00401073 sub esp,8Ch
00401079 push ebx
0040107A push esi
0040107B push edi
0040107C lea edi,[ebp-8Ch]
00401082 mov ecx,23h
00401087 mov eax,0CCCCCCCCh // LZ 你知道为什么 栈 为什么用 0CCCCCCCCh 填充么 我很纳闷
0040108C rep stos dword ptr [edi]
9:
10: int x=c;
0040108E mov eax,dword ptr [ebp+10h]
00401091 mov dword ptr [ebp-4],eax
11: char buffer[64];
12: int y=b;
00401094 mov ecx,dword ptr [ebp+0Ch]
00401097 mov dword ptr [ebp-48h],ecx
13: int z=10;
0040109A mov dword ptr [ebp-4Ch],0Ah
14:
15: buffer[0]='A';
004010A1 mov byte ptr [ebp-44h],41h
16: //bar(z,y);
17:
18:
19: }
004010A5 pop edi
004010A6 pop esi
004010A7 pop ebx
004010A8 mov esp,ebp
004010AA pop ebp
004010AB ret