Technically you don't need the "cmp r2, #0x0" at the bottom.
bpl means "positive or zero" so you don't need to compare to 0, because bpl is already doing that.
so, you just needif it was bgt or blt, you'd need to define "greater than what?" or "less than what?" by comparing to something, but bpl is already defined.Code:subs r2, #0xc4 @decrement and set conditional flag (hence the "s") bpl Loop