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