Skip to content

Commit 133cf97

Browse files
committed
Simplify E_CONST_STRING, 6 bytes shorter.
1 parent d774065 commit 133cf97

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

src/actions.asm

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -280,17 +280,13 @@ nloop:
280280
cmp #'"'
281281
beq eos
282282
cmp #$9b
283-
beq err
283+
beq xrts ; Exit with error, C = 1 on EQ.
284284
; Store
285285
store: inx
286286
inc bpos
287287
jsr parser_emit_byte
288-
bne nloop
289-
err: ; Restore opos and exit
290-
lda tmp1
291-
sta opos
292-
sec
293-
rts
288+
bne nloop ; Jump always
289+
294290
eos: iny
295291
lda (bptr), y
296292
inc bpos

0 commit comments

Comments
 (0)