reptest2.s

来自「汇编代码示例」· S 代码 · 共 22 行

S
22
字号
# reptest2.s - An incorrect example of using the REP instruction.section .datavalue1:   .ascii "This is a test string.\n"value2:   .ascii "Oops".section .bss   .lcomm output, 23.section .text.globl _start_start:   nop   leal value1, %esi   leal output, %edi   movl $6, %ecx   cld   rep movsl   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?