.global main, Stop, CodeEnd, DataStart, DataEnd .text main: mov r0, #15 // Compare r0 against 10 cmp r0, #10 blt there // Branch to location "there" if r0 < 10 mov r1, #1111 mov r2, #1111 mov r3, #1111 there: mov r4, #4444 mov r5, #4444 mov r6, #4444 Stop: CodeEnd: nop /* -------------------------------------------------- Begin of the permanent program variables -------------------------------------------------- */ .data DataStart: .align 2 x: .4byte -9 // Try using byte or short typed variables .align 2 y: .4byte 3 .align 2 max: .skip 4 .align 2 a: .4byte -10 .align 2 b: .4byte 10 DataEnd: .end