From c97ec0f9d238f9797bd8a58ace07caad87b96a55 Mon Sep 17 00:00:00 2001 From: Andreas Kapp Lindquist Date: Mon, 29 Sep 2025 20:57:20 +0200 Subject: docs(sorting.s): Made array reference uppercase A --- src/sorting.s | 12 ++++++------ 1 file 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 -- cgit v1.2.3-70-g09d2