⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bubble.s

📁 非常好的汇编代码示例
💻 S
字号:
# bubble.s - An example of the XCHG instruction.section .datavalues:   .int 105, 235, 61, 315, 134, 221, 53, 145, 117, 5.section .text.globl _start_start:   movl $values, %esi   movl $9, %ecx   movl $9, %ebxloop:   movl (%esi), %eax   cmp %eax, 4(%esi)   jge skip   xchg %eax, 4(%esi)   movl %eax, (%esi)skip:   add $4, %esi   dec %ebx   jnz loop   dec %ecx   jz endmovl $values, %esi   movl %ecx, %ebx   jmp loopend:   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

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