From b22183ba021d9ab3418d8f47545708597247e583 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 22 Nov 2019 02:35:31 +0100 Subject: strcpy, strcmp, write, read --- ft_write.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ft_write.s') 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 -- cgit