From a917ec555ef8419bf638d6b8f87c965dff96e9e1 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 22 Nov 2019 03:05:58 +0100 Subject: ft_strdup.s and Makefile --- ft_strcpy.s | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ft_strcpy.s') 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 +#+ +:+ +#+ # +# +#+#+#+#+#+ +#+ # +# 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 -- cgit