/* -------------------------------------------------- Define required labels for EGTAPI -------------------------------------------------- */ .global main, Stop, CodeEnd, DataStart, DataEnd .global myMethod /* -------------------------------------------------- Begin of the program instructions -------------------------------------------------- */ .text main: mov r0, #1111 mov r1, #1111 bl myMethod mov r2, #2222 mov r3, #2222 bl myMethod mov r4, #3333 mov r5, #3333 Stop: nop myMethod: mov r8, #9999 mov r9, #9999 mov pc, lr // Return to caller !!! CodeEnd: nop /* -------------------------------------------------- Begin of the permanent program variables -------------------------------------------------- */ .data DataStart: DataEnd: .end