/* -------------------------------------------------- Define required labels for EGTAPI -------------------------------------------------- */ .global main, Stop, CodeEnd .global DataStart, DataEnd .global i1, i2, s1, s2, b1, b2 /* -------------------------------------------------- Begin of the program instructions -------------------------------------------------- */ .text main: // This is how you compute 14 / 3 mov r0, #14 // Try some other value... mov r1, #3 // Try some other value... bl __aeabi_idiv // r0 will contains the quotient or 14/3 Stop: CodeEnd: nop /* -------------------------------------------------- Begin of the permanent program variables -------------------------------------------------- */ .data DataStart: DataEnd: .end