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

13 lines
No EOL
160 B
ArmAsm

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