diff options
| author | mithe24 <mithe24@student.sdu.dk> | 2025-10-30 10:28:24 +0100 |
|---|---|---|
| committer | mithe24 <mithe24@student.sdu.dk> | 2025-10-30 10:28:27 +0100 |
| commit | 597022b22e0e499a567d29c7248e90b7726e0770 (patch) | |
| tree | 063c35ca2b99f553ecb0ef3cc7684b6eef719e9a /src/lib/strcmp.s | |
| parent | d99c832dac240735f5aa282469762bab04c6a45c (diff) | |
| download | sorter-597022b22e0e499a567d29c7248e90b7726e0770.tar.gz sorter-597022b22e0e499a567d29c7248e90b7726e0770.zip | |
consistent names
Diffstat (limited to '')
| -rw-r--r-- | src/lib/strcmp.s | 4 |
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 |