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