asm_book/section_1/for/for04.s
2022-05-18 16:55:58 -05:00

13 lines
No EOL
162 B
ArmAsm

// Assume i is implemented using x0
mov x0, xzr
b 2f
1:
// CODE BLOCK
add x0, x0, 1
2: cmp x0, 10
blt 1b