about summary refs log tree commit diff
path: root/src/internal/x32/syscall.s
blob: 6e0db09c307e176c7386cc35546527690ac87efa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
.global __syscall
.type __syscall,@function
__syscall:
	movq %rdi,%rax
	movq %rsi,%rdi
	movq %rdx,%rsi
	movq %rcx,%rdx
	movq %r8,%r10
	movq %r9,%r8
	movq 8(%rsp),%r9
	syscall
	ret