aboutsummaryrefslogtreecommitdiff
path: root/demo/prog.asm
diff options
context:
space:
mode:
authorryo <ryo@nopwd.lol>2024-12-30 16:11:32 +0000
committerryo <ryo@nopwd.lol>2024-12-30 16:11:32 +0000
commit24c328db90627881d7c293e1ba481c6bd96e31da (patch)
tree0b125ab8a8d443b7b9bfc1f7943db0a0fc29a1cb /demo/prog.asm
Initial commitHEADmain
Diffstat (limited to 'demo/prog.asm')
-rw-r--r--demo/prog.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/demo/prog.asm b/demo/prog.asm
new file mode 100644
index 0000000..ed55b56
--- /dev/null
+++ b/demo/prog.asm
@@ -0,0 +1,8 @@
+ORG 50
+LDA A
+ADD B
+STA C
+HLT
+A, DEC 8
+B, DEC 3
+C, DEC 0