aboutsummaryrefslogtreecommitdiff
path: root/ft_strcmp.s
blob: 4c5aee7bbd1d8615fe147b1f86ccfe5c864734b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
_ft_strcmp:
	mov eax, sp
	mov ebx, sp + 8
	FT_STRCMP_LOOP:
		cmp eax, 0
		jneq FT_STRCMP_LOOP
		cmp ebx, 0
		jneq FT_STRCMP_LOOP
		cmp eax, ebx
		jeq FT_STRCMP_LOOP
	sub eax, ebx
	ret