/* loop.s */ .text .global _start _start: mov r0, #0 mov r1, #0x4000000 sub r1, r1, #1 loop_begin: add r0, r0, #1 ands r0, r1, r0 bne loop_begin mov r15, r14