1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| --- e:\tests\test_compile\test_compile\main.cpp --------------------------------
00401002 pop esp
00401003 and byte ptr [eax],al
00401006 push esi
00401007 push eax
00401008 mov dword ptr [esp+8],0
00401010 call std::operator<<<std::char_traits<char> > (4011A0h)
00401015 add esp,4
std::cin >> u ;
00401018 lea ecx,[esp+4]
0040101C push ecx
0040101D mov ecx,dword ptr [__imp_std::cin (402068h)]
00401023 call dword ptr [__imp_std::basic_istream<char,std::char_traits<char> >::operator>> (402048h)]
std::cout<< std::endl;
00401029 mov edx,dword ptr [__imp_std::endl (40203Ch)]
0040102F mov ecx,dword ptr [__imp_std::cout (40205Ch)]
00401035 push edx
00401036 call dword ptr [__imp_std::basic_ostream<char,std::char_traits<char> >::operator<< (402040h)]
int k = 0;
k = demo( u );
0040103C xor eax,eax
0040103E cmp dword ptr [esp+4],0Ah
//std::cout << "result = " << k << std::endl;
std::system( "pause" );
00401043 push offset string "pause" (402148h)
00401048 setge al
0040104B dec eax
0040104C and eax,0FFFFFFCFh
0040104F add eax,32h
00401052 mov esi,eax
00401054 call dword ptr [__imp__system (4020D4h)]
0040105A add esp,4
return k;
0040105D mov eax,esi
0040105F pop esi
}
00401060 pop ecx
00401061 ret
--- No source file ------------------------------------------------------------- |
Partager