rendered paste body; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727.762
TITLE c:\Documents and Settings\Igor\My Documents\cscd18\a2\testbrackets\testbrackets\test.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
PUBLIC ?blah@@YAHXZ ; blah
EXTRN __RTC_Shutdown:PROC
EXTRN __RTC_InitBase:PROC
; COMDAT rtc$TMZ
; File c:\documents and settings\igor\my documents\cscd18\a2\testbrackets\testbrackets\test.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 ?blah@@YAHXZ
_TEXT SEGMENT
?blah@@YAHXZ PROC ; blah, COMDAT
; 2 : int blah() {
push ebp
mov ebp, esp
sub esp, 192 ; 000000c0H
push ebx
push esi
push edi
lea edi, DWORD PTR [ebp-192]
mov ecx, 48 ; 00000030H
mov eax, -858993460 ; ccccccccH
rep stosd
; 3 : return 1;
mov eax, 1
; 4 : }
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0
?blah@@YAHXZ ENDP ; blah
_TEXT ENDS
PUBLIC _main
EXTRN __RTC_CheckEsp:PROC
; Function compile flags: /Odtp /RTCsu /ZI
; COMDAT _main
_TEXT SEGMENT
_x$ = -8 ; size = 4
_main PROC ; COMDAT
; 6 : int main() {
push ebp
mov ebp, esp
sub esp, 204 ; 000000ccH
push ebx
push esi
push edi
lea edi, DWORD PTR [ebp-204]
mov ecx, 51 ; 00000033H
mov eax, -858993460 ; ccccccccH
rep stosd
; 7 : int x = blah()*(blah(),blah());
call ?blah@@YAHXZ ; blah
call ?blah@@YAHXZ ; blah
mov esi, eax
call ?blah@@YAHXZ ; blah
imul esi, eax
mov DWORD PTR _x$[ebp], esi
; 8 :
; 9 : return x;
mov eax, DWORD PTR _x$[ebp]
; 10 : }
pop edi
pop esi
pop ebx
add esp, 204 ; 000000ccH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_main ENDP
_TEXT ENDS
END