aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/div.asm4
-rw-r--r--examples/mul.asm4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/div.asm b/examples/div.asm
new file mode 100644
index 0000000..f07766c
--- /dev/null
+++ b/examples/div.asm
@@ -0,0 +1,4 @@
+mov a, 10
+mov b, 2
+div a, b
+hlt
diff --git a/examples/mul.asm b/examples/mul.asm
new file mode 100644
index 0000000..a818dfd
--- /dev/null
+++ b/examples/mul.asm
@@ -0,0 +1,4 @@
+mov a, 99
+mov b, 99
+mul a, b
+hlt