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_push_front.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_push_front.s')
| -rw-r--r-- | ft_list_push_front.s | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ft_list_push_front.s b/ft_list_push_front.s index e4cfb02..4eedf75 100644 --- a/ft_list_push_front.s +++ b/ft_list_push_front.s @@ -24,22 +24,22 @@ global M_FT_LIST_PUSH_FRONT ; void ft_list_push_front(t_list **begin_list, void *data); M_FT_LIST_PUSH_FRONT: - cmp rdi, 0 - je FT_LIST_PUSH_FRONT_END + cmp rdi, 0 + je FT_LIST_PUSH_FRONT_END - push rdi - push rsi - xor rdi, rdi - mov edi, 16 - call M_MALLOC wrt ..plt - pop rsi - pop rdi - cmp rax, 0 - je FT_LIST_PUSH_FRONT_END + push rdi + push rsi + xor rdi, rdi + mov edi, 16 + call M_MALLOC wrt ..plt + pop rsi + pop rdi + cmp rax, 0 + je FT_LIST_PUSH_FRONT_END - mov qword [rax + 0], rsi - mov r10, [rdi] - mov [rax + 8], r10 - mov [rdi], rax + mov qword [rax + 0], rsi + mov r10, [rdi] + mov [rax + 8], r10 + mov [rdi], rax FT_LIST_PUSH_FRONT_END: - ret + ret |
