From 88d4c92a5a757ed4ee88373e9ae53bfe27041e7f Mon Sep 17 00:00:00 2001 From: mithe24 Date: Sun, 19 Oct 2025 21:18:47 +0200 Subject: Working qsort I think So far looks like it is working, cannot be tested with 'test.sh' since quick sort is not a stable sorting algorithm --- src/main.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.s') diff --git a/src/main.s b/src/main.s index c0d6e85..318bb02 100644 --- a/src/main.s +++ b/src/main.s @@ -17,7 +17,7 @@ _start: movq %rax, %rdi # Select address of array movq %r15, %rsi # Select length of array movq $1, %rdx # Sort by key 1 - call insertion_sort # Sort the array + call qsort # Sort the array # Print array movq %rax, %rdi # Select the pointer to the array -- cgit v1.2.3-70-g09d2