summaryrefslogtreecommitdiff
path: root/tb/sim/mult.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tb/sim/mult.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tb/sim/mult.py b/tb/sim/mult.py
new file mode 100644
index 0000000..70e7490
--- /dev/null
+++ b/tb/sim/mult.py
@@ -0,0 +1,7 @@
+def init():
+ init_reg(r0, -10)
+ init_reg(r1, 23)
+ init_reg(r2, -1234)
+
+def final():
+ assert_reg(r0, -10 * 23 - 1234)