能力值:
( LV12,RANK:290 )
|
-
-
2 楼
c语言参数入栈顺序从右向左
|
能力值:
( LV5,RANK:60 )
|
-
-
3 楼
出栈又反过来了]?
这个无所谓对巴?
|
能力值:
(RANK:170 )
|
-
-
4 楼
我也有些看不懂呢
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00401000 /$ 55 push ebp
00401001 |. 8BEC mov ebp,esp
00401003 |. 83EC 0C sub esp,0C
00401006 |. 8D45 F8 lea eax,dword ptr ss:[ebp-8]
00401009 |. 50 push eax
0040100A |. 8D4D FC lea ecx,dword ptr ss:[ebp-4]
0040100D |. 51 push ecx
0040100E |. B9 C8924100 mov ecx,1.004192C8 ;有什么用啊~~~~~~~~~
00401013 |. E8 E8030000 call 1.00401400 ; cin >>a>>b;
00401018 |. 8BC8 mov ecx,eax
0040101A |. E8 E1030000 call 1.00401400
0040101F |. 8B55 FC mov edx,dword ptr ss:[ebp-4]
00401022 |. 0355 F8 add edx,dword ptr ss:[ebp-8]
00401025 |. 8955 F4 mov dword ptr ss:[ebp-C],edx
00401028 |. 8B45 F4 mov eax,dword ptr ss:[ebp-C]
0040102B |. 50 push eax
0040102C |. 68 00414100 push 1.00414100 ; ASCII "a+b="
00401031 |. 8B4D F8 mov ecx,dword ptr ss:[ebp-8]
00401034 |. 51 push ecx
00401035 |. 68 08414100 push 1.00414108 ; ASCII "b="
0040103A |. 8B55 FC mov edx,dword ptr ss:[ebp-4]
0040103D |. 52 push edx
0040103E |. 68 0C414100 push 1.0041410C ; ASCII "a="
00401043 |. 68 28924100 push 1.00419228
00401048 |. E8 C3120000 call 1.00402310
0040104D |. 83C4 08 add esp,8
00401050 |. 8BC8 mov ecx,eax
00401052 |. E8 29000000 call 1.00401080
00401057 |. 50 push eax
00401058 |. E8 B3120000 call 1.00402310
0040105D |. 83C4 08 add esp,8
00401060 |. 8BC8 mov ecx,eax
00401062 |. E8 19000000 call 1.00401080
00401067 |. 50 push eax
00401068 |. E8 A3120000 call 1.00402310
0040106D |. 83C4 08 add esp,8
00401070 |. 8BC8 mov ecx,eax
00401072 |. E8 09000000 call 1.00401080
00401077 |. 33C0 xor eax,eax
00401079 |. 8BE5 mov esp,ebp
0040107B |. 5D pop ebp
0040107C \. C3 retn
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|