/* -------------------------------------------------- Define required labels for EGTAPI -------------------------------------------------- */ .global main, Stop, CodeEnd .global DataStart, DataEnd .global x /* -------------------------------------------------- Begin of the program instructions -------------------------------------------------- */ .text main: movw r0, #:lower16:x[10] // illegal ! movt r0, #:upper16:x[10] Stop: CodeEnd: nop /* -------------------------------------------------- Begin of the permanent program variables -------------------------------------------------- */ .data DataStart: x: .word 1, 2, 3, 4, 5, 6,7 ,8 ,9 ,10 DataEnd: .end