aboutsummaryrefslogtreecommitdiff
path: root/ft_strcpy.s
blob: 44a098d74b91f7bcc1356a47839aa3ade4901787 (plain)
1
2
3
4
5
6
7
8
9
10
11
_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
	ret