12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- .text
- .globl syscall
- .type syscall,%function
- .align 16
- syscall:
- movq %rdi, %rax
- movq %rsi, %rdi
- movq %rdx, %rsi
- movq %rcx, %rdx
- movq %r8, %r10
- movq %r9, %r8
- movq 8(%rsp),%r9
- syscall
- cmpq $-4095, %rax
- jae __error
- ret
- __error:
- jmp __syscall_error
- .size syscall,.-syscall
|