added write

This commit is contained in:
2024-03-07 18:51:45 +01:00
parent e4597a684c
commit 9316411eb6

10
ft_write.s Normal file
View File

@@ -0,0 +1,10 @@
global _write
_write:
mov eax, 0x1
syscall
jc .error
ret
.error:
mov rax, -1
ret