aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/call_stack/run_fact.atk16
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/call_stack/run_fact.atk16')
-rw-r--r--test/e2e/call_stack/run_fact.atk1611
1 files changed, 11 insertions, 0 deletions
diff --git a/test/e2e/call_stack/run_fact.atk16 b/test/e2e/call_stack/run_fact.atk16
new file mode 100644
index 0000000..06ad59c
--- /dev/null
+++ b/test/e2e/call_stack/run_fact.atk16
@@ -0,0 +1,11 @@
+; bootstrap code (must be called to setup mandatory data)
+; will jump to label main
+@include ../bootstrap
+@include lib
+
+@let INPUT %INPUT% ; value replaced by test driver code
+
+@label main
+ ldi INPUT RA
+ calli fact
+ hlt