aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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