parsing seems to be working fine

This commit is contained in:
Henrik Boeving committed 2020-11-28 17:44:06 +01:00
1 parent 111ca93a31
commit 2348f7889b
13 files changed
+478 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
LDA #0
ADD: ADD #1
JMP ADD
+2
View File
@@ -0,0 +1,2 @@
// comment
LDA #1
+3
View File
@@ -0,0 +1,3 @@
START: LDA #1
// Jumps to the label start
JMP START
+14
View File
@@ -0,0 +1,14 @@
NOP
LDA #1
LDA (1)
STA (1)
ADD #1
ADD (1)
SUB #1
SUB (1)
JMP 0
BRZ #1
BRC #1
BRN #1
MYLABEL: NOP
JMP MYLABEL