diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-11 15:44:44 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-11 15:44:44 +0100 |
| commit | d6240e3f6aeb342aaf13284c7cc93226970648aa (patch) | |
| tree | a5fef5bd1d55e0dd63cb986a445254cf8caa94ce /ft_list_size.s | |
| parent | cd5c9e6a923878e797212d27476ee217eb844a14 (diff) | |
| download | libasm-d6240e3f6aeb342aaf13284c7cc93226970648aa.tar.gz libasm-d6240e3f6aeb342aaf13284c7cc93226970648aa.tar.bz2 libasm-d6240e3f6aeb342aaf13284c7cc93226970648aa.zip | |
Replaced tab with spaces
Diffstat (limited to 'ft_list_size.s')
| -rw-r--r-- | ft_list_size.s | 14 |
1 files changed, 7 insertions, 7 deletions
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 |
