aboutsummaryrefslogtreecommitdiff
path: root/examples/x.s
diff options
context:
space:
mode:
Diffstat (limited to 'examples/x.s')
-rw-r--r--examples/x.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/x.s b/examples/x.s
new file mode 100644
index 0000000..6411b7e
--- /dev/null
+++ b/examples/x.s
@@ -0,0 +1,15 @@
+set a 33
+
+:loop
+ set [0x8000+i] a
+
+ add a 1
+ add i 1
+
+ ifg i 0x180
+ set i 0
+ ifg a 126
+ set a 33
+
+ set pc loop
+