📄 loop.s
字号:
# loop.s - An example of the loop instruction.section .dataoutput: .asciz "The value is: %d\n".section .text.globl _start_start: movl $100, %ecx movl $0, %eaxloop1: addl %ecx, %eax loop loop1 pushl %eax pushl $output call printf add $8, %esp movl $1, %eax movl $0, %ebx int $0x80
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -