aboutsummaryrefslogtreecommitdiff
path: root/src/lib/int2str.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/lib/int2str.s
parent6746b29daa5b26b53d0c3fa3da26a6d54dcc5a73 (diff)
downloadsorter-541874c7d91013cda51edf12334890305b3988d5.tar.gz
sorter-541874c7d91013cda51edf12334890305b3988d5.zip
refactor(src): made sure all function follow calling conventions
Diffstat (limited to '')
-rw-r--r--src/lib/int2str.s5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/int2str.s b/src/lib/int2str.s
index 82a2aaa..1e9801b 100644
--- a/src/lib/int2str.s
+++ b/src/lib/int2str.s
@@ -1,12 +1,11 @@
# --------------------------------------------
# FUNCTION: int2str
-# PURPOSE : Convert a 64 bit integer into ascii
-# into ASCII encoding
+# PURPOSE : Convert a 64 bit integer into ASCII
# INPUTS : rdi = 64 bit integer
# rsi = address of buffer
# OUTPUTS : rax = address of string (points into the provided buffer)
# rdx = length of string
-# CLOBBERS:
+# CLOBBERS: rax, rcx, rdi, rsi, r8, r9, r10
# --------------------------------------------
.section .text
.globl int2str