Skip to content

Commit

Permalink
[BASIC] ISO lowercase keyword tokenization
Browse files Browse the repository at this point in the history
  • Loading branch information
mooinglemur committed Mar 20, 2024
1 parent a444692 commit a6dec5a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion basic/code2.s
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@ rescon lda bufofs,x
sec
sbc reslst,y
beq reser
cmp #32
beq reser
cmp #128
beq :+
cmp #160
bne nthis
ora count
lda #128
: ora count
getbpt ldy bufptr
stuffh inx
iny
Expand Down Expand Up @@ -86,6 +91,10 @@ rescon2 lda bufofs,x
sec
sbc reslst2,y
beq reser2
cmp #32
beq reser2
cmp #160
beq resfnd
cmp #128
bne nthis2

Expand Down Expand Up @@ -123,6 +132,10 @@ rescon3 lda bufofs,x
sec
sbc reslst3,y
beq reser3
cmp #32
beq reser3
cmp #160
beq resfnd
cmp #128
beq resfnd

Expand Down

0 comments on commit a6dec5a

Please sign in to comment.