dastest.s

来自「*****汇编语言程序设计 源代码*****」· S 代码 · 共 26 行

S
26
字号
# dastest.s - An example of using the DAS instruction.section .datavalue1:   .byte 0x25, 0x81, 0x02value2:   .byte 0x33, 0x29, 0x05.section .bss   .lcomm result, 4.section .text.globl _start_start:   nop   xor %edi, %edi   movl $3, %ecxloop1:   movb value2(, %edi, 1), %al   sbbb value1(, %edi, 1), %al   das   movb %al, result(, %edi, 1)   inc %edi   loop loop1   sbbb $0, result(, %edi, 4)   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

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