aboutsummaryrefslogtreecommitdiff
path: root/ft_strcpy.s
diff options
context:
space:
mode:
Diffstat (limited to 'ft_strcpy.s')
-rw-r--r--ft_strcpy.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ft_strcpy.s b/ft_strcpy.s
index 228ea04..d20476d 100644
--- a/ft_strcpy.s
+++ b/ft_strcpy.s
@@ -1,3 +1,15 @@
+# **************************************************************************** #
+# #
+# ::: :::::::: #
+# ft_strcpy.s :+: :+: :+: #
+# +:+ +:+ +:+ #
+# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
+# +#+#+#+#+#+ +#+ #
+# Created: 2019/11/22 03:04:28 by cacharle #+# #+# #
+# Updated: 2019/11/22 03:16:19 by cacharle ### ########.fr #
+# #
+# **************************************************************************** #
+
.globl _ft_strcpy
_ft_strcpy:
@@ -10,4 +22,5 @@ _ft_strcpy:
inc rcx
cmp byte ptr [rbx + rcx], 0
jne FT_STRCPY_LOOP
+ mov byte ptr [rax + rcx], 0
ret