diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-04-12 13:56:41 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-04-12 13:56:41 +0300 |
| commit | 0603e19435b4304fabd91f840325a153ce31cae2 (patch) | |
| tree | 6128a15ef56b23cc62317cbfa319a9f4c73a5dea /test/e2e/call_stack/run_fact.atk16 | |
| parent | 92de76627baf7c239a517316d85150149403f0c9 (diff) | |
Finish calli/callr/return, add test code
Diffstat (limited to 'test/e2e/call_stack/run_fact.atk16')
| -rw-r--r-- | test/e2e/call_stack/run_fact.atk16 | 11 |
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 |
