|
楼主 |
发表于 2008-6-14 19:48:50
|
显示全部楼层
.file "main.c"
.text
.globl main
.type main, @function
main:
leal 4(%esp), %ecx
andl $-16, %esp
pushl -4(%ecx)
pushl %ebp
movl %esp, %ebp
pushl %ecx
movl $0, %eax
popl %ecx
popl %ebp
leal -4(%ecx), %esp
ret
.size main, .-main
.ident "GCC: (GNU) 4.2.2 20070909 (prerelease) (4.2.2-0.RC.1mdv2008.0)"
.section .note.GNU-stack,"",@progbits
~
汇编了的结果!
有出栈压栈等! |
|