aboutsummaryrefslogtreecommitdiff
path: root/demo/add.asm
diff options
context:
space:
mode:
Diffstat (limited to 'demo/add.asm')
-rw-r--r--demo/add.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/demo/add.asm b/demo/add.asm
new file mode 100644
index 0000000..1b11842
--- /dev/null
+++ b/demo/add.asm
@@ -0,0 +1,12 @@
+ ORG 30
+ LDA X I
+ ADD Y /simple comment
+ STA S / another one
+ HLT
+
+ / variables
+X, HEX 1A
+Y, DEC -23
+S, DEC 0
+
+ END