summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/full-pipeline/005-small-loop.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/full-pipeline/005-small-loop.asm b/test/full-pipeline/005-small-loop.asm
new file mode 100644
index 0000000..3f2dc5f
--- /dev/null
+++ b/test/full-pipeline/005-small-loop.asm
@@ -0,0 +1,6 @@
+ldi $1, 2
+ldi $2, 100
+ldi $3, 0
+loop:
+ add $3, $3, $1
+ bnz loop