libk  posix_fd_write.fn.x86.lin.64.s at [81758652b5]

File legacy/posix_fd_write.fn.x86.lin.64.s artifact b72b3eff18 part of check-in 81758652b5


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