1 .globl crash1 2 .type crash1, %function 3 .globl crashnostack 4 .type crashnostack, %function 5 6 crash1: 7 ldr r0, =0xa5a50000 8 ldr r1, =0xa5a50001 9 ldr r2, =0xa5a50002 10 ldr r3, =0xa5a50003 11 ldr r4, =0xa5a50004 12 ldr r5, =0xa5a50005 13 ldr r6, =0xa5a50006 14 ldr r7, =0xa5a50007 15 ldr r8, =0xa5a50008 16 ldr r9, =0xa5a50009 17 ldr r10, =0xa5a50010 18 ldr r11, =0xa5a50011 19 ldr r12, =0xa5a50012 20 21 mov lr, #0 22 ldr lr, [lr] 23 b . 24 25 26 crashnostack: 27 mov sp, #0 28 mov r0, #0 29 ldr r0, [r0] 30 b . 31