libk  posix_fd_write.fn.x86.lin.64.s at [bdc1191d6f]

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


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