2 * Set the stack pointers
7 .type set_sp_mode,function
10 * r0: stack pointer for given mode
11 * r1: mode, bits 4:0 of status register
14 * Switch to requested mode
15 * Disable all interrupts
20 * Set the stack pointer for requested mode
25 * Disable all interrupts
27 mov r1, #(0x80|0x40|0x13)