libk  posix_fd_write.fn.x86.lin.64.s at [481509e134]

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


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