1 .text 2 .globl _start 3 _start: 4 mov ip, sp 5 stmdb sp!, {r11, ip, lr, pc} 6 bl app_func 7 ldmia sp, {r11, sp, lr} 8 bx lr 9 10 .globl app_func 11 app_func: 12 mov ip, sp 13 stmdb sp!, {r11, ip, lr, pc} 14 bl lib_func1 15 ldmia sp, {r11, sp, lr} 16 bx lr 17 18 .globl app_func2 19 app_func2: 20 bx lr 21 22 .data 23 .long data_obj 24