All pastes #906822 Raw Edit

Mine

public text v1 · immutable
·published 2008-02-17 00:40 UTC
rendered paste body
; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727.42 

	TITLE	d:\code\c++\TestForWhile\TestForWhile\TestForWhile.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 d:\code\c++\testforwhile\testforwhile\testforwhile.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
_argc$ = 8						; size = 4
_argv$ = 12						; size = 4
_wmain	PROC						; COMDAT

; 8    : {

	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
$LN4@wmain:

; 9    : 	
; 10   : 	while(true)

	mov	eax, 1
	test	eax, eax
	je	SHORT $LN2@wmain

; 11   : 	{
; 12   : 		
; 13   : 	}

	jmp	SHORT $LN4@wmain
$LN2@wmain:

; 14   : 
; 15   : 	for(;;)
; 16   : 	{
; 17   : 		
; 18   : 	}

	jmp	SHORT $LN2@wmain

; 19   : 
; 20   : 
; 21   : 
; 22   : 	return 0;

	xor	eax, eax

; 23   : }

	pop	edi
	pop	esi
	pop	ebx
	mov	esp, ebp
	pop	ebp
	ret	0
_wmain	ENDP
_TEXT	ENDS
END