aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/call_stack/run_mul.atk16
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/call_stack/run_mul.atk16')
-rw-r--r--test/e2e/call_stack/run_mul.atk1618
1 files changed, 18 insertions, 0 deletions
diff --git a/test/e2e/call_stack/run_mul.atk16 b/test/e2e/call_stack/run_mul.atk16
new file mode 100644
index 0000000..feaabe7
--- /dev/null
+++ b/test/e2e/call_stack/run_mul.atk16
@@ -0,0 +1,18 @@
+; bootstrap code (must be called to setup mandatory data)
+; will jump to label main
+@include ../bootstrap
+@include lib
+
+; values replaced by test driver code
+@label INPUT_A
+ %INPUT_A%
+@label INPUT_B
+ %INPUT_B%
+
+@label main
+ ldi INPUT_A RA
+ ldr RA RA
+ ldi INPUT_B RB
+ ldr RB RB
+ calli mul
+ hlt