summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-04-28 13:37:11 +1000
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-04-28 13:37:11 +1000
commiteae92c43e1397d05a01050cc6fdb71c000eb22bb (patch)
tree7527bb41e1e11fa7bf1dbe39545eed11e4996362 /test
parentdf566a054e6ee4b567bb1635073448ffc599a982 (diff)
expanded interpreter.c, starting test programs
Diffstat (limited to 'test')
-rw-r--r--test/adc.test0
-rw-r--r--test/load.test19
2 files changed, 19 insertions, 0 deletions
diff --git a/test/adc.test b/test/adc.test
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/adc.test
diff --git a/test/load.test b/test/load.test
new file mode 100644
index 0000000..14cdc44
--- /dev/null
+++ b/test/load.test
@@ -0,0 +1,19 @@
+#/Beginning of test.
+s0000.01
+s0001.02
+s000a.64
+s000b.48
+s020c.7f
+
+a201 #LDX $1
+
+a9ff 8510 #LDA FF, store in 0010
+a50a 8511 #LDA ZP 0a, store in 0011
+b50a 8512 #LDA ZP+X 0a, store in 0012
+
+ad000a 8513 #LDA Abs, store in 0013
+bd000a 8513 #LDA Abs+X, store in 0014
+
+m00
+m0001
+q