From 318ccc960f206ebaf61740bd35122d856784fa05 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Sun, 20 Jul 2025 11:50:03 +0200 Subject: [PATCH] atoi(): Remove leftover label .getLen --- src/convert.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/convert.asm b/src/convert.asm index 4408765..e606725 100644 --- a/src/convert.asm +++ b/src/convert.asm @@ -59,14 +59,13 @@ atoi: ; nope, decimal mov rsi, 10 mov rdx, '9' - jmp .getLen + jmp .getLenLoop .skipBaseNotation: cmp rcx, 1 ;If '-' was found, using base is invalid je .quit add rdi, 2 ; -- Get length of numeric string + test if valid - .getLen: .getLenLoop: cmp byte [rdi], EOS je .calculate