.data godot_msg: .string "Waiting for Godot" .text .balign 4 .global _start _start: /* Initialize stack pointers */ ldr sp, =stack_svc cps #0x1b ldr sp, =stack_und cps #0x17 ldr sp, =stack_abt cps #0x12 ldr sp, =stack_irq cps #0x11 ldr sp, =stack_fiq // Leave in sys mode cps #0x1f ldr sp, =stack_sys // Leave in usr mode // cps #0x10 // ldr sp, =stack_usr /* C-Main */ bl main ldr r0, =godot_msg bl printkl /* Endless busy loop */ b .