summaryrefslogtreecommitdiff
path: root/demos/add.asm
diff options
context:
space:
mode:
authorryo <ryo@nopwd.lol>2024-12-30 16:15:09 +0000
committerryo <ryo@nopwd.lol>2024-12-30 16:15:09 +0000
commitf1de771d882ae3848b500b6f558f7307b740b3cd (patch)
tree6011cb740110229712ad7b720ae7b33df21227d2 /demos/add.asm
Initial commitHEADmain
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