aboutsummaryrefslogtreecommitdiff
path: root/src/lib/strcmp.s
diff options
context:
space:
mode:
authormithe24 <mithe24@student.sdu.dk>2025-10-30 10:28:24 +0100
committermithe24 <mithe24@student.sdu.dk>2025-10-30 10:28:27 +0100
commit597022b22e0e499a567d29c7248e90b7726e0770 (patch)
tree063c35ca2b99f553ecb0ef3cc7684b6eef719e9a /src/lib/strcmp.s
parentd99c832dac240735f5aa282469762bab04c6a45c (diff)
downloadsorter-597022b22e0e499a567d29c7248e90b7726e0770.tar.gz
sorter-597022b22e0e499a567d29c7248e90b7726e0770.zip
consistent names
Diffstat (limited to 'src/lib/strcmp.s')
-rw-r--r--src/lib/strcmp.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/strcmp.s b/src/lib/strcmp.s
index d495a91..e8f4334 100644
--- a/src/lib/strcmp.s
+++ b/src/lib/strcmp.s
@@ -13,7 +13,7 @@
strcmp:
xorq %rax, %rax # i = 0
-loop:
+.strcmp_loop:
movb (%rdi, %rax, 1), %r8b
movb (%rsi, %rax, 1), %r9b
@@ -25,7 +25,7 @@ loop:
incq %rax
- jmp loop
+ jmp .strcmp_loop
.strcmp_fail:
xorq %rax, %rax