1 2 3 4 5 6 7 8 9
.section .text .global _syscall .type _syscall, @function _syscall: push %r10 mov %rcx, %r10 syscall pop %r10 ret