diff options
| author | mithe24 <mithe24@student.sdu.dk> | 2025-10-27 09:08:22 +0100 |
|---|---|---|
| committer | mithe24 <mithe24@student.sdu.dk> | 2025-10-29 13:49:57 +0100 |
| commit | 4f17cf1441ebbe13137bdd2acf4a7ba3228b80b5 (patch) | |
| tree | c4babc9cee1b46452d53c73e50258e146c186a76 /src/main.s | |
| parent | 2e39f481369d708cf2c723136c3bf4c765d6c994 (diff) | |
| download | sorter-4f17cf1441ebbe13137bdd2acf4a7ba3228b80b5.tar.gz sorter-4f17cf1441ebbe13137bdd2acf4a7ba3228b80b5.zip | |
fix(qsort): Quicksort errors. And why is length 1-indexed :(
Diffstat (limited to '')
| -rw-r--r-- | src/main.s | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ _start: # Sort movq %rax, %rdi # Select address of array movq %r15, %rsi # Select length of array + decq %rsi movq $1, %rdx # Sort by key 1 call qsort # Sort the array |