📄 paramtest1.s
字号:
# paramtest1.s - Listing command line parameters.section .dataoutput1: .asciz "There are %d parameters:\n"output2: .asciz "%s\n".section .text.globl _start_start: movl (%esp), %ecx pushl %ecx pushl $output1 call printf addl $4, %esp popl %ecx movl %esp, %ebp addl $4, %ebploop1: pushl %ecx pushl (%ebp) pushl $output2 call printf addl $8, %esp popl %ecx addl $4, %ebp loop loop1 pushl $0 call exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -