File legacy/exit.fn.x86.lin.64.s artifact c7202f2e83 part of check-in 5c1200e1a8
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