.global _start _start: movw r10, #0 loop: add r10, #1 cmp r10, #1024 beq _stop b loop _stop: b _stop