aboutsummaryrefslogtreecommitdiff
path: root/ft_write.s
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-11-22 02:35:31 +0100
committerCharles <sircharlesaze@gmail.com>2019-11-22 02:35:31 +0100
commitb22183ba021d9ab3418d8f47545708597247e583 (patch)
tree079af4d3d360a72908782abead1f4b272155bd18 /ft_write.s
parent0931febe3e178b4e484259c9cdc79ef452208ae7 (diff)
downloadlibasm-b22183ba021d9ab3418d8f47545708597247e583.tar.gz
libasm-b22183ba021d9ab3418d8f47545708597247e583.tar.bz2
libasm-b22183ba021d9ab3418d8f47545708597247e583.zip
strcpy, strcmp, write, read
Diffstat (limited to 'ft_write.s')
-rw-r--r--ft_write.s6
1 files changed, 4 insertions, 2 deletions
diff --git a/ft_write.s b/ft_write.s
index a21ec45..9cd1d3f 100644
--- a/ft_write.s
+++ b/ft_write.s
@@ -1,4 +1,6 @@
+.globl _ft_write
+
_ft_write:
- mov eax, 4
- int 0x80
+ mov rax, 0x2000004
+ syscall
ret