libk  kio_posix_fd_write.x86.lin.64.s at [93014cedbc]

File kio/kio_posix_fd_write.x86.lin.64.s artifact b72b3eff18 part of check-in 93014cedbc


bits 64
global kio_posix_fd_write

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

kio_posix_fd_write:
	mov sys.reg.0, sys.write
	; mov sys.reg.1, ccall.reg.0 - nop
	; mov sys.reg.2, ccall.reg.1 - nop
	; mov sys.reg.3, ccall.reg.2 - nop
	sys.call
	ret