shithub: mc

ref: 6c8c2b6b32f8b567703dea1aed5ea1fc9e5caf23
dir: /syscall-osx.s/

View raw version
.globl _std$syscall
_std$syscall:
        popq %rcx	/* return address */
	popq %rax       /* call num */
	pushq %rcx
        syscall
	pushq %rcx	/* put the return address back */
	ret