aboutsummaryrefslogtreecommitdiff
path: root/src/main.s
diff options
context:
space:
mode:
authorNavid Samanghoon <nsama24@student.sdu.dk>2025-10-11 20:14:59 +0200
committermithe24 <mithe24@student.sdu.dk>2025-10-29 13:49:57 +0100
commit42d5445e7bc9a7a665ffd8fbc8f7dc5e8f229ee0 (patch)
tree4e834bab96b8879e49a4286e7f97deacdae497e3 /src/main.s
parent1ea27eb370f202fbf1f9dbc9a8f510ca48931155 (diff)
downloadsorter-42d5445e7bc9a7a665ffd8fbc8f7dc5e8f229ee0.tar.gz
sorter-42d5445e7bc9a7a665ffd8fbc8f7dc5e8f229ee0.zip
typo
Diffstat (limited to '')
-rw-r--r--src/main.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.s b/src/main.s
index 30bbf9b..56b682c 100644
--- a/src/main.s
+++ b/src/main.s
@@ -15,7 +15,7 @@ _start:
movq %rax, %rdi # Select address of array
movq %r15, %rsi # Select length of array
- movq $0, %rdx # Sort by key 0
+ movq $1, %rdx # Sort by key 1
call insertion_sort # Sort the array
# Print array