diff --git a/src/ft_strcmp.asm b/src/ft_strcmp.asm index 98eb306..5f4ae56 100644 --- a/src/ft_strcmp.asm +++ b/src/ft_strcmp.asm @@ -3,7 +3,8 @@ section .text ft_strcmp: mov rcx, 0 - loop: + + loop: mov dl, [rsi + rcx] mov bl, [rdi + rcx] @@ -15,7 +16,8 @@ section .text inc rcx jmp loop - out: + + out: sub bl, dl movsx rax, bl ret \ No newline at end of file