aboutsummaryrefslogtreecommitdiff
path: root/ft_list_push_front.s
diff options
context:
space:
mode:
Diffstat (limited to 'ft_list_push_front.s')
-rw-r--r--ft_list_push_front.s32
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