reptest3.s

来自「汇编经典教程profession_assembly_language(Richa」· S 代码 · 共 28 行

S
28
字号
# reptest3.s - Moving a large string using MOVSL and MOVSB.section .datastring1:   .asciz "This is a test of the conversion program!\n"length:   .int 43divisor:   .int 4.section .bss   .lcomm buffer, 43.section .text.globl _start_start:   nop   leal string1, %esi   leal buffer, %edi   movl length, %ecx   shrl $2, %ecx   cld   rep movsl   movl length, %ecx   andl $3, %ecx   rep movsb   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

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