syscalltest2.s

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

S
24
字号
# syscalltest2.s - An example of getting a return value from a system call.section .bss   .lcomm pid, 4   .lcomm uid, 4   .lcomm gid, 4.section .text.globl _start_start:   movl $20, %eax   int $0x80   movl %eax, pid   movl $24, %eax   int $0x80   movl %eax, uid   movl $47, %eax   int $0x80   movl %eax, gidend:   movl $1, %eax   movl $0, %ebx   int $0x80

⌨️ 快捷键说明

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