|
发表于 2014-2-25 18:45:50
|
显示全部楼层
如果你能看懂汇编的话。。- .section .rodata
- .LC0:
- .string "%d %d %d\n"
- .LC1:
- .string "%d %d %d %d %d %d"
- .text
- .globl main
- .type main, @function
- main:
- pushl %ebp
- movl %esp, %ebp
- andl $-16, %esp
- subl $96, %esp
- movl $4, 48(%esp)
- movl $3, 52(%esp)
- movl $1, 56(%esp)
- movl $5, 60(%esp)
- movl $1, 64(%esp)
- movl $2, 68(%esp)
- movl $3, 72(%esp)
- movl $4, 76(%esp)
- movl $0, 80(%esp)
- movl $9, 84(%esp)
- movl $5, 88(%esp)
- movl $7, 92(%esp)
- movl $2, 32(%esp)
- movl $4, 36(%esp)
- movl $5, 40(%esp)
- movl $6, 44(%esp)
- movl 32(%esp), %eax
- movl %eax, 12(%esp)
- leal 32(%esp), %eax
- addl $4, %eax
- movl %eax, 8(%esp)
- leal 32(%esp), %eax
- addl $4, %eax
- movl %eax, 4(%esp)
- movl $.LC0, (%esp)
- call printf
- movl 48(%esp), %eax
- movl %eax, 24(%esp)
- leal 48(%esp), %eax
- movl %eax, 20(%esp)
- leal 48(%esp), %eax
- movl %eax, 16(%esp)
- leal 48(%esp), %eax
- movl %eax, 12(%esp)
- leal 48(%esp), %eax
- movl %eax, 8(%esp)
- leal 48(%esp), %eax
- movl %eax, 4(%esp)
- movl $.LC1, (%esp)
- call printf
- .L2:
- jmp .L2
复制代码 |
|