summaryrefslogtreecommitdiff
path: root/test/lex.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/lex.s')
-rw-r--r--test/lex.s13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/lex.s b/test/lex.s
index 543a3d8..037ce2b 100644
--- a/test/lex.s
+++ b/test/lex.s
@@ -1,7 +1,9 @@
; aaaaaaaaaaaaaaaaa
+
SYM = $10
SYM1 = 10
SYM2 = %00000010
+
.org $A000
; String Literals/Constants.
tok:
@@ -12,6 +14,7 @@ string:
.byte "Please, type something.\n"
string2:
.byte "You typed, "
+
.org $1000
lex:
.byte $0
@@ -33,8 +36,16 @@ reset:
sta lex, x ; same with this one
sta $1000 ; lol
lda.w #cmd_buf+8;
+ lda 'a' ; cool.
+ lda ' ' ; cool.
+ lda '\n' ; cool.
+ lda '\r' ; cool.
+ lda '\b' ; cool.
+ lda '\\' ; cool.
+ lda '\'' ; cool.
+l
a
-.org $A000
+.org $8000
v
q