atoi(): Remove leftover label .getLen

This commit is contained in:
2025-07-20 11:50:03 +02:00
parent aef72931a3
commit 318ccc960f

View File

@@ -59,14 +59,13 @@ atoi:
; nope, decimal ; nope, decimal
mov rsi, 10 mov rsi, 10
mov rdx, '9' mov rdx, '9'
jmp .getLen jmp .getLenLoop
.skipBaseNotation: .skipBaseNotation:
cmp rcx, 1 ;If '-' was found, using base is invalid cmp rcx, 1 ;If '-' was found, using base is invalid
je .quit je .quit
add rdi, 2 add rdi, 2
; -- Get length of numeric string + test if valid ; -- Get length of numeric string + test if valid
.getLen:
.getLenLoop: .getLenLoop:
cmp byte [rdi], EOS cmp byte [rdi], EOS
je .calculate je .calculate