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_push_front.s | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'ft_list_push_front.s') 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 -- cgit