variable support cleanup
This commit is contained in:
1 parent
51aec45c8d
commit
09f85cea8a
64 files changed
+266
-87
No files matched your search
@@ -0,0 +1,21 @@
|
||||
// #LAYOUT# STD * #TAKE
|
||||
// #LAYOUT# * BASIC_0 #TAKE
|
||||
// #LAYOUT# * * #IGNORE
|
||||
|
||||
//
|
||||
// Fetches line number, stores it in LINNUM, sets Carry to indicate failure (not a number)
|
||||
//
|
||||
// Preserves both .X and .Y
|
||||
//
|
||||
|
||||
fetch_line_number:
|
||||
|
||||
lda #IDX__EV7_26 // 'LINE NUMBER TOO LARGE'
|
||||
jsr fetch_uint16
|
||||
bcs_16 do_SYNTAX_error
|
||||
|
||||
lda LINNUM+1
|
||||
cmp #$FF
|
||||
beq_16 do_LINE_NUMBER_TOO_LARGE_error
|
||||
|
||||
rts
|
||||
Reference in new issue
Block a user