libk  Artifact [c7202f2e83]

Artifact c7202f2e83eeb399d5272ad2c12e2760dcdf8b36bbdaeaa5308bcb2bf4d8ed60:


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