📄 scastest1.s
字号:
# scastest1.s - An example of the SCAS instruction.section .datastring1: .ascii "This is a test - a long text string to scan."length: .int 44string2: .ascii "-".section .text.globl _start_start: nop leal string1, %edi leal string2, %esi movl length, %ecx lodsb cld repne scasb jne notfound subw length, %cx neg %cx movl $1, %eax movl %ecx, %ebx int $0x80notfound: movl $1, %eax movl $0, %ebx int $0x80
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -