aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kapp Lindquist <alind24@student.sdu.dk>2025-09-29 19:56:19 +0200
committermithe24 <mithe24@student.sdu.dk>2025-10-29 13:49:57 +0100
commit7af4752020545f7ac7d00031fe781c879f6146a0 (patch)
tree296d71a9f63ec052e07036617496b603a1dd6b8a
parent0cbf11095572ecd2fbeaa7990512f8d671c80523 (diff)
downloadsorter-7af4752020545f7ac7d00031fe781c879f6146a0.tar.gz
sorter-7af4752020545f7ac7d00031fe781c879f6146a0.zip
docs(sorting.s): Added doc for 4th argument
-rw-r--r--src/sorting.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sorting.s b/src/sorting.s
index c626b06..c461c49 100644
--- a/src/sorting.s
+++ b/src/sorting.s
@@ -1,7 +1,8 @@
# --------------------------------------------
# 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.
+# 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
# rdx = index of key to sort by