diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-04-11 18:23:08 +0100 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-04-11 18:23:08 +0100 |
| commit | 92de76627baf7c239a517316d85150149403f0c9 (patch) | |
| tree | ea8d80e88584f5d383a4e11237d8e56c37c414e8 /test/e2e/emulation_speed/long_loop.atk16 | |
| parent | 3963742d5cc195bbbcc8081ec261b0d3e0c1d83d (diff) | |
Add perf test
Diffstat (limited to 'test/e2e/emulation_speed/long_loop.atk16')
| -rw-r--r-- | test/e2e/emulation_speed/long_loop.atk16 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/e2e/emulation_speed/long_loop.atk16 b/test/e2e/emulation_speed/long_loop.atk16 new file mode 100644 index 0000000..2303311 --- /dev/null +++ b/test/e2e/emulation_speed/long_loop.atk16 @@ -0,0 +1,16 @@ +; bootstrap code (must be called to setup mandatory data) +; will jump to label main +@include bootstrap + +@label iters + 10000 + +@label main + ldi iters RA + ldr RA RA +@label loop + dec RA + bri zero done + jpi loop +@label done + hlt |
