added write
This commit is contained in:
10
ft_write.s
Normal file
10
ft_write.s
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
global _write
|
||||||
|
|
||||||
|
_write:
|
||||||
|
mov eax, 0x1
|
||||||
|
syscall
|
||||||
|
jc .error
|
||||||
|
ret
|
||||||
|
.error:
|
||||||
|
mov rax, -1
|
||||||
|
ret
|
||||||
Reference in New Issue
Block a user