aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Kapp Lindquist <alind24@student.sdu.dk>2025-09-29 20:57:20 +0200
committermithe24 <mithe24@student.sdu.dk>2025-10-29 13:49:57 +0100
commitc97ec0f9d238f9797bd8a58ace07caad87b96a55 (patch)
tree4f324bfa1692f0dc7c4a7c4e5d1601c32b526117 /src
parent7af4752020545f7ac7d00031fe781c879f6146a0 (diff)
downloadsorter-c97ec0f9d238f9797bd8a58ace07caad87b96a55.tar.gz
sorter-c97ec0f9d238f9797bd8a58ace07caad87b96a55.zip
docs(sorting.s): Made array reference uppercase A
Diffstat (limited to '')
-rw-r--r--src/sorting.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sorting.s b/src/sorting.s
index c461c49..771b4c8 100644
--- a/src/sorting.s
+++ b/src/sorting.s
@@ -1,15 +1,15 @@
# --------------------------------------------
# FUNCTION: sorter
-# PURPOSE : Sorts array a, with references to arrays a_i, based on the given
-# key in a_i, address and size of a, and an address of a sorting algorithm to be
+# PURPOSE : Sorts array A, with references to arrays A_i, based on the given
+# key in A_i, address and size of A, and an address of a sorting algorithm to be
# used
-# INPUTS : rdi = address for a
-# rsi = length of a in bytes
+# INPUTS : rdi = address for A
+# rsi = length of A in bytes
# rdx = index of key to sort by
# rcx = address of sorting algorithm
-# OUTPUTS : rax = address of sorted a
+# OUTPUTS : rax = address for sorted A
# CLOBBERS: none
-# NOTES : Preserves all registers except eax
+# NOTES : Preserves all registers
# --------------------------------------------
.section .text
.globl sorter