libk  exit.fn.x86.lin.64.s at [62fd1bfe97]

File legacy/exit.fn.x86.lin.64.s artifact c7202f2e83 part of check-in 62fd1bfe97


bits 64
%include "../arch/x86.lin.64.s"
%include "../arch/x86.cdecl.64.s"
; vim: ft=nasm

global kio_posix_exit:function
kio_posix_exit:
	mov sys.reg.1, ccall.reg.0 ;nop - rdi → rdi
	mov sys.reg.0, sys.exit
	sys.call
	; no return