new line number parser, saved over 150 bytes

This commit is contained in:
FeralChild64 committed 2020-07-12 10:22:32 +02:00
1 parent 2b5c01d3bb
commit d1ac8ac371
14 files changed
+167 -332

No files matched your search

+3 -3
View File
@@ -16,7 +16,7 @@ fetch_variable:
cmp #$20 // ignore all the spaces
beq !-
jsr fetch_variable_is_AZ
jsr is_AZ
bcs_16 do_SYNTAX_error
sta VARNAM+0
@@ -24,7 +24,7 @@ fetch_variable:
// Fetch the (optional) second character
jsr fetch_character
jsr fetch_variable_is_09_AZ
jsr is_09_AZ
bcs fetch_variable_check_type
sta VARNAM+1
@@ -32,7 +32,7 @@ fetch_variable:
// Fetch the remaining variable characters - ignore them
!:
jsr fetch_character
jsr fetch_variable_is_09_AZ
jsr is_09_AZ
bcc !-
// FALLTROUGH