add ft_list_sort

This commit is contained in:
2025-04-06 01:39:39 +02:00
parent 34b139c60b
commit 919948abe9
11 changed files with 163 additions and 86 deletions

View File

@ -5,7 +5,7 @@ section .text
ft_list_push_front:
test rdi, rdi
je err
jz err
push rdi
push rsi
@ -15,7 +15,7 @@ ft_list_push_front:
pop rdi
test rax, rax ; did malloc return 0
je err
jz err
push rdi
mov rdi, [rdi]