Created
December 20, 2010 07:03
-
-
Save saga/748113 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.30319.01 | |
TITLE C:\Documents and Settings\sun\my documents\visual studio 2010\Projects\aabb\aabb\aabb.cpp | |
.686P | |
.XMM | |
include listing.inc | |
.model flat | |
INCLUDELIB MSVCRTD | |
INCLUDELIB OLDNAMES | |
PUBLIC _wmain | |
EXTRN __RTC_Shutdown:PROC | |
EXTRN __RTC_InitBase:PROC | |
; COMDAT rtc$TMZ | |
; File c:\documents and settings\sun\my documents\visual studio 2010\projects\aabb\aabb\aabb.cpp | |
rtc$TMZ SEGMENT | |
__RTC_Shutdown.rtc$TMZ DD FLAT:__RTC_Shutdown | |
rtc$TMZ ENDS | |
; COMDAT rtc$IMZ | |
rtc$IMZ SEGMENT | |
__RTC_InitBase.rtc$IMZ DD FLAT:__RTC_InitBase | |
; Function compile flags: /Odtp /RTCsu /ZI | |
rtc$IMZ ENDS | |
; COMDAT _wmain | |
_TEXT SEGMENT | |
_b$4410 = -32 ; size = 4 | |
_a$4409 = -20 ; size = 4 | |
_a$ = -8 ; size = 4 | |
_argc$ = 8 ; size = 4 | |
_argv$ = 12 ; size = 4 | |
_wmain PROC ; COMDAT | |
; 7 : { | |
push ebp | |
mov ebp, esp | |
sub esp, 228 ; 000000e4H | |
push ebx | |
push esi | |
push edi | |
lea edi, DWORD PTR [ebp-228] | |
mov ecx, 57 ; 00000039H | |
mov eax, -858993460 ; ccccccccH | |
rep stosd | |
; 8 : int a = 0; | |
mov DWORD PTR _a$[ebp], 0 | |
$LN3@wmain: | |
; 9 : | |
; 10 : do | |
; 11 : { | |
; 12 : int a = 3; | |
mov DWORD PTR _a$4409[ebp], 3 | |
; 13 : int b = 0; | |
mov DWORD PTR _b$4410[ebp], 0 | |
; 14 : | |
; 15 : b = b+1; | |
mov eax, DWORD PTR _b$4410[ebp] | |
add eax, 1 | |
mov DWORD PTR _b$4410[ebp], eax | |
; 16 : a = b; | |
mov eax, DWORD PTR _b$4410[ebp] | |
mov DWORD PTR _a$4409[ebp], eax | |
; 17 : }while (0); | |
xor eax, eax | |
jne SHORT $LN3@wmain | |
; 18 : | |
; 19 : a = 3; | |
mov DWORD PTR _a$[ebp], 3 | |
; 20 : | |
; 21 : return 0; | |
xor eax, eax | |
; 22 : } | |
pop edi | |
pop esi | |
pop ebx | |
mov esp, ebp | |
pop ebp | |
ret 0 | |
_wmain ENDP | |
_TEXT ENDS | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment