Fixed various Parser bugs.
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ inc r2
|
||||
start:
|
||||
inc r1 ; next char
|
||||
loadb r3, [r1] ; Load the next character byte into R3
|
||||
cmpi r3, 0 ; Null byte?
|
||||
cmp r3, 0 ; Null byte?
|
||||
je end
|
||||
inc r2 ; Nope, increment the length counter
|
||||
jmp start
|
||||
|
||||
Reference in New Issue
Block a user