From d6240e3f6aeb342aaf13284c7cc93226970648aa Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 11 Feb 2021 15:44:44 +0100 Subject: Replaced tab with spaces --- ft_list_size.s | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ft_list_size.s') diff --git a/ft_list_size.s b/ft_list_size.s index 0d80bd9..31fa613 100644 --- a/ft_list_size.s +++ b/ft_list_size.s @@ -21,12 +21,12 @@ global M_FT_LIST_SIZE section .text ; int ft_list_size(t_list *begin_list); M_FT_LIST_SIZE: - xor eax, eax + xor eax, eax FT_LIST_SIZE_LOOP: - cmp rdi, 0 - je FT_LIST_SIZE_END - inc eax - mov rdi, [rdi + 8] - jmp FT_LIST_SIZE_LOOP + cmp rdi, 0 + je FT_LIST_SIZE_END + inc eax + mov rdi, [rdi + 8] + jmp FT_LIST_SIZE_LOOP FT_LIST_SIZE_END: - ret + ret -- cgit