summaryrefslogtreecommitdiff
path: root/test/full-pipeline/should-pass/005-small-loop.asm
blob: 5c47e51ee16024c7dceb8807dab2d3790b574c75 (plain)
1
2
3
4
5
6
7
ldi $1, 2
ldi $2, 20
ldi $3, 0
loop:
	add $3, $3, $1
	subi $2, $2, 1
	bnz loop