📄 test2.s
字号:
.file "cb.c".globl cb_zz .data .align 4 .type cb_zz,@object .size cb_zz,4cb_zz: .long 0 .text.globl cb_foo .type cb_foo,@functioncb_foo: pushl %ebp movl %esp, %ebp subl $8, %esp cmpl $0, 8(%ebp) jne .L2 movl 8(%ebp), %eax movl %eax, -4(%ebp) jmp .L1.L2: subl $4, %esp pushl 16(%ebp) movl 12(%ebp), %eax incl %eax pushl %eax movl 8(%ebp), %eax decl %eax pushl %eax call cb_foo addl $16, %esp movl %eax, -4(%ebp).L1: movl -4(%ebp), %eax leave ret.Lfe1: .size cb_foo,.Lfe1-cb_foo.globl cb_main .type cb_main,@functioncb_main: pushl %ebp movl %esp, %ebp pushl %ebx subl $36, %esp movl $0, -8(%ebp) movl $0, -12(%ebp) movl $0, -16(%ebp) movl $0, -20(%ebp) movl $0, -24(%ebp) movl $0, -28(%ebp) movl $43, -12(%ebp) movl $11, -16(%ebp) subl $8, %esp pushl $4 pushl $5 call new_array addl $16, %esp movl %eax, -8(%ebp) subl $4, %esp pushl $2 pushl $4 pushl -8(%ebp) call array_index addl $16, %esp movl $13, (%eax) subl $4, %esp pushl $3 pushl $4 pushl -8(%ebp) call array_index addl $16, %esp movl %eax, %ebx subl $4, %esp pushl $2 pushl $4 pushl -8(%ebp) call array_index addl $16, %esp movl (%eax), %eax addl $14, %eax movl %eax, (%ebx) movl $0, %eax movl -4(%ebp), %ebx leave ret.Lfe2: .size cb_main,.Lfe2-cb_main.globl strings .data .align 4 .type strings,@object .size strings,8strings: .long 0 .long 0 .ident "GCC: (GNU) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -