atoi(): Remove leftover label .getLen
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user