From 0931febe3e178b4e484259c9cdc79ef452208ae7 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 22 Nov 2019 00:11:46 +0100 Subject: ft_strlen.s (i can kinda compile this shit) --- ft_strcpy.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ft_strcpy.s') diff --git a/ft_strcpy.s b/ft_strcpy.s index 44a098d..2b7bbb9 100644 --- a/ft_strcpy.s +++ b/ft_strcpy.s @@ -2,10 +2,10 @@ _ft_strcpy: pop ax pop bx mov ecx, eax ; copy - FT_STRCPY_LOOP: - mov [ecx], ebx - inc ebx - inc ecx - cmp ebx, 0 - jneq FT_STRCPY_LOOP +FT_STRCPY_LOOP: + mov [ecx], ebx + inc ebx + inc ecx + cmp ebx, 0 + jneq FT_STRCPY_LOOP ret -- cgit