aboutsummaryrefslogtreecommitdiff
path: root/ft_strcpy.s
diff options
context:
space:
mode:
Diffstat (limited to 'ft_strcpy.s')
-rw-r--r--ft_strcpy.s12
1 files changed, 6 insertions, 6 deletions
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