Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/actions.asm
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ xit: rts
; Search existing var
jsr var_search
bcs exit
cmp tmp3
eor tmp3
beq emit_varn
::xit_label_err:
not_found:
Expand All @@ -470,7 +470,6 @@ exit:
.proc emit_varn
; Store VARN
txa
clc
jmp parser_emit_byte
.endproc

Expand Down Expand Up @@ -545,7 +544,6 @@ do_create:
ldx #label_ptr - prog_ptr
jsr name_new
inc label_count
clc
rts
.endproc

Expand Down
3 changes: 0 additions & 3 deletions src/syntax/basic.syn
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ ADR_EXPR: string or variable
emit { TOK_VAR_LOAD, VT_ARRAY_BYTE } E_VAR_SEARCH
emit { TOK_NUM, VT_ARRAY_WORD } E_LABEL
emit { TOK_NUM, VT_ARRAY_BYTE } E_LABEL
emit { TOK_VAR_LOAD, VT_ARRAY_STRING } E_VAR_SEARCH
emit { TOK_VAR_ADDR } E_VAR_WORD

USR_EXPR_MORE:
Expand Down Expand Up @@ -190,7 +189,6 @@ INT_FUNCTIONS: integer variable or function
"ASc" STR_EXPR emit { TOK_PUSH_1, TOK_ADD, TOK_PEEK } # TODO: does not check for empty strings.

FUNC_MARK:
pass

# Used to handle PADDLE/STICK/PTRIG/STRIG
RD_PORT:
Expand Down Expand Up @@ -490,7 +488,6 @@ RETURN_VALUE:
pass

MARK_RETURN:
pass

# Optional number after PAUSE
PAUSE_OPT:
Expand Down
3 changes: 2 additions & 1 deletion src/vars.asm
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ loop:
dey
bpl loop

end: rts
end: clc
rts
.endproc

; vi:syntax=asm_ca65
Expand Down
Loading