signtest.s

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

S
21
字号
# signtest.s - An example of using the sign flag.section .datavalue:   .int 21, 15, 34, 11, 6, 50, 32, 80, 10, 2output:   .asciz "The value is: %d\n".section .text.globl _start_start:   movl $9, %ediloop:   pushl value(, %edi, 4)   pushl $output   call printf   add $8, $esp   dec %edi   jns loop   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

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