好友
阅读权限10
听众
最后登录1970-1-1
|
[
11: int a = 5 ;
00401028 mov dword ptr [ebp-4],5
12: int b = 4 ;
0040102F mov dword ptr [ebp-8],4
14: if(a>b)
00401036 mov eax,dword ptr [ebp-4]
00401039 cmp eax,dword ptr [ebp-8]
0040103C jle main+3Fh (0040104f)
15: {
16:
17: printf("the big is %d\n",a);
0040103E mov ecx,dword ptr [ebp-4]
00401041 push ecx
00401042 push offset string "the big is %d\n" (0042001c)
00401047 call printf (00401080)
0040104C add esp,8
20:
21: }
24: return 0;
0040104F xor eax,eax
25:
26: }
11: int a = 5 ;
00401028 mov dword ptr [ebp-4],5
12: int b = 6 ;
0040102F mov dword ptr [ebp-8],6
13:
14: if(a>b)
00401036 mov eax,dword ptr [ebp-4]
00401039 cmp eax,dword ptr [ebp-8]
0040103C jle main+41h (00401051)
15: {
16: printf("the big is %d\n",a);
0040103E mov ecx,dword ptr [ebp-4]
00401041 push ecx
00401042 push offset string "the big is %d\n" (00420f84)
00401047 call printf (00401080)
0040104C add esp,8
17: }
18: else
0040104F jmp main+52h (00401062)
19: {
20: printf("the big is %d\n",b);
00401051 mov edx,dword ptr [ebp-8]
00401054 push edx
00401055 push offset string "the big is %d\n" (0042001c)
0040105A call printf (00401080)
0040105F add esp,8
21: }
23: return 0;
00401062 xor eax,eax
24:
25: }
]
|
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|