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
| .file "test.cpp"
.text
.globl _Z4demoi
.type _Z4demoi, @function
_Z4demoi:
.LFB2:
pushl %ebp
.LCFI0:
movl %esp, %ebp
.LCFI1:
movl $50, %eax
cmpl $9, 8(%ebp)
movl $1, %edx
cmovle %edx, %eax
popl %ebp
ret
.LFE2:
.size _Z4demoi, .-_Z4demoi
.globl main
.type main, @function
main:
.LFB3:
leal 4(%esp), %ecx
.LCFI2:
andl $-16, %esp
pushl -4(%ecx)
.LCFI3:
pushl %ebp
.LCFI4:
movl %esp, %ebp
.LCFI5:
pushl %ecx
.LCFI6:
xorl %eax, %eax
popl %ecx
popl %ebp
leal -4(%ecx), %esp
ret
.LFE3:
.size main, .-main
.ident "GCC: (Debian 4.3.1-8) 4.3.1"
.section .note.GNU-stack,"",@progbits |