Skip to content

Commit

Permalink
refactor: move asm routine from control to core
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotlinski committed Jul 30, 2022
1 parent 84c2b8f commit 52850d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 1 addition & 5 deletions control.asm
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,4 @@ EXIT
rts
+
lda #OP_RTS
compile_a
dex
sta LSB, x
jmp CCOMMA

jmp compile_a
5 changes: 4 additions & 1 deletion core.asm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ DROP
inx
rts
+ lda #OP_INX
jmp compile_a
compile_a
dex
sta LSB, x
jmp CCOMMA

+BACKLINK "swap", 4
SWAP
Expand Down

0 comments on commit 52850d6

Please sign in to comment.