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 44 45 46 47 48 49
| .file "09-05-26.cc"
.text
.align 2
.globl __Z7fun_cpyi
.def __Z7fun_cpyi; .scl 2; .type 32; .endef
__Z7fun_cpyi:
pushl %ebp
movl %esp, %ebp
incl 8(%ebp)
popl %ebp
ret
.align 2
.globl __Z7fun_refRi
.def __Z7fun_refRi; .scl 2; .type 32; .endef
__Z7fun_refRi:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
incl (%eax)
popl %ebp
ret
.def ___main; .scl 2; .type 32; .endef
.align 2
.globl _main
.def _main; .scl 2; .type 32; .endef
_main:
pushl %ebp
movl %esp, %ebp
subl $24, %esp
andl $-16, %esp
movl $0, %eax
addl $15, %eax
addl $15, %eax
shrl $4, %eax
sall $4, %eax
movl %eax, -8(%ebp)
movl -8(%ebp), %eax
call __alloca
call ___main
movl $0, -4(%ebp)
movl -4(%ebp), %eax
movl %eax, (%esp)
call __Z7fun_cpyi
leal -4(%ebp), %eax
movl %eax, (%esp)
call __Z7fun_refRi
movl $0, %eax
leave
ret |
Partager