aboutsummaryrefslogtreecommitdiff
path: root/src/array_maker.s
diff options
context:
space:
mode:
authorAndreas Kapp Lindquist <andkaplin05@gmail.com>2025-10-28 15:09:05 +0100
committermithe24 <mithe24@student.sdu.dk>2025-10-29 13:49:57 +0100
commit541874c7d91013cda51edf12334890305b3988d5 (patch)
treea88ac545bd9986ba4380bf561156daee3eba31b2 /src/array_maker.s
parent6746b29daa5b26b53d0c3fa3da26a6d54dcc5a73 (diff)
downloadsorter-541874c7d91013cda51edf12334890305b3988d5.tar.gz
sorter-541874c7d91013cda51edf12334890305b3988d5.zip
refactor(src): made sure all function follow calling conventions
Diffstat (limited to 'src/array_maker.s')
-rw-r--r--src/array_maker.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/array_maker.s b/src/array_maker.s
index b0809ca..f62f364 100644
--- a/src/array_maker.s
+++ b/src/array_maker.s
@@ -4,7 +4,7 @@
# INPUTS : rdi = File descriptor
# OUTPUTS : rax = Pointer to start of array in memory
# rdx = Length of array in 8 byte chunks (the number of elements)
-# CLOBBERS: rax, rsi
+# CLOBBERS: rax, rdx, rdi, rsi
# --------------------------------------------
.globl make_array_from_file
.type make_array_from_file, @function
@@ -64,7 +64,7 @@ end:
# rsi = Size of file
# OUTPUTS : rax = Pointer to start of pairwise data in memory
# rdx = The number of pairs
-# CLOBBERS: rdi, rsi, rdx, rax
+# CLOBBERS: rax, rdx, rdi, rsi
# --------------------------------------------
.globl make_pairwise_data
.type make_pairwise_data, @function
@@ -123,7 +123,7 @@ end:
# INPUTS : rdi = File descriptor
# OUTPUTS : rax = Pointer to start of file in memory
# rdx = Length of file in bytes
-# CLOBBERS: rax, rsi, rdi, rdx
+# CLOBBERS: rax, rdx, rdi, rsi
# --------------------------------------------
.globl create_file_buffer
.type create_file_buffer, @function