aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/fibo/fibo.atk16
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2024-04-11 17:50:10 +0100
committerJan Tuomi <jan@jantuomi.fi>2024-04-11 17:50:10 +0100
commit3963742d5cc195bbbcc8081ec261b0d3e0c1d83d (patch)
tree662907306f6a0f4b60fd8f3ee67e07acad6c347d /test/e2e/fibo/fibo.atk16
parent5776a07e6a3def343996c5ec83cd69242f7ea23a (diff)
Add instr/s counter
Diffstat (limited to 'test/e2e/fibo/fibo.atk16')
-rw-r--r--test/e2e/fibo/fibo.atk168
1 files changed, 6 insertions, 2 deletions
diff --git a/test/e2e/fibo/fibo.atk16 b/test/e2e/fibo/fibo.atk16
index fe38fe5..2cf3d20 100644
--- a/test/e2e/fibo/fibo.atk16
+++ b/test/e2e/fibo/fibo.atk16
@@ -2,9 +2,13 @@
; will jump to label main
@include bootstrap
+@label iters
+ 51
+
@label main
- ldi 10 RA
- calli fibo ; call fibo subroutine with parameter 10
+ ldi iters RA
+ ldr RA RA
+ calli fibo ; call fibo subroutine with parameter 1000
hlt
@label fibo ; fibo(n) subroutine