Diagram of simple.elf, stopped in mystery location
 AddressContents decoded
[0x7fffffc]00 00 80 e0
[0x7fffff8]00 00 80 0c
[0x7fffff4]08 00 00 00
[0x7fffff0]00 00 00 00
[0x7ffffec]00 00 80 b0
[0x7ffffe8]00 00 80 fc
[0x7ffffe4]07 ff ff f0
[0x7ffffe0]07 ff ff fc
[0x7ffffdc]00 00 00 00
[0x7ffffd8]00 00 00 00
[0x7ffffd4]00 00 80 3c
[0x7ffffd0]00 00 80 c4
[0x7ffffcc]07 ff ff d8
[0x7ffffc8]07 ff ff ec
[0x7ffffc4]00 00 00 1e
[0x7ffffc0]00 00 00 14
[0x7ffffbc]00 00 00 0a
[0x7ffffb8]00 00 00 00
fp =>[0x7ffffb4]00 00 80 1c
[0x7ffffb0]00 00 80 70
[0x7ffffac]07 ff ff b8
sp =>[0x7ffffa8]07 ff ff d4
     
[ 0x812c]20 20 00 00 .word 0x20200000
[ 0x8128]00 00 81 30 .word 0x8130
[ 0x8124]00 00 81 30 .word 0x8130
[ 0x8120]e1 2f ff 1ebx lr
[ 0x811c]e8 9d 68 00ldm sp, {fp, sp, lr}
[ 0x8118]e2 4b d0 0csub sp, fp, #12, 0
[ 0x8114]e5 82 30 20str r3, [r2, #32]
[ 0x8110]e3 a0 39 02mov r3, #32768
[ 0x810c]e5 82 30 10str r3, [r2, #16]
[ 0x8108]e3 83 36 02orr r3, r3, #2097152
[ 0x8104]e3 c3 36 0ebic r3, r3, #14680064
[ 0x8100]e5 92 30 10ldr r3, [r2, #16]
[ 0x80fc]e5 9f 20 28ldr r2, [pc, #40]
[ 0x80f8]eb ff ff e9bl 0x80a4 <main>
[ 0x80f4]3a ff ff fabcc 0x80e4 <_cstart+16>
[ 0x80f0]34 c3 20 01strbcc r2, [r3], #1
[ 0x80ec]33 a0 20 00movcc r2, #0, 0
[ 0x80e8]e1 53 00 02cmp r3, r2
[ 0x80e4]e5 9f 20 3cldr r2, [pc, #60]
[ 0x80e0]e5 9f 30 3cldr r3, [pc, #60]
[ 0x80dc]e2 4c b0 04sub fp, r12, #4, 0
[ 0x80d8]e9 2d d8 00push {fp, r12, lr, pc}
[ 0x80d4]e1 a0 c0 0d<_cstart+0>mov r12, sp
[ 0x80d0]e1 2f ff 1ebx lr
[ 0x80cc]e8 9d 68 30ldm sp, {r4, r5, fp, sp, lr}
[ 0x80c8]e2 4b d0 14sub sp, fp, #20, 0
[ 0x80c4]e0 84 00 00add r0, r4, r0
[ 0x80c0]eb ff ff dabl 0x8030 <make_array>
[ 0x80bc]e1 a0 40 00mov r4, r0
[ 0x80b8]eb ff ff f1bl 0x8084 <diff>
[ 0x80b4]e3 a0 00 21mov r0, #33, 0
[ 0x80b0]e3 a0 10 6bmov r1, #107, 0
[ 0x80ac]e2 4c b0 04sub fp, r12, #4, 0
[ 0x80a8]e9 2d d8 30push {r4, r5, fp, r12, lr, pc}
[ 0x80a4]e1 a0 c0 0d<main+0>mov r12, sp
[ 0x80a0]e1 2f ff 1ebx lr
[ 0x809c]e8 9d 68 00ldm sp, {fp, sp, lr}
[ 0x8098]e2 4b d0 0csub sp, fp, #12, 0
[ 0x8094]eb ff ff ddbl 0x8010 <abs>
[ 0x8090]e0 41 00 00sub r0, r1, r0
[ 0x808c]e2 4c b0 04sub fp, r12, #4, 0
[ 0x8088]e9 2d d8 00push {fp, r12, lr, pc}
[ 0x8084]e1 a0 c0 0d<diff+0>mov r12, sp
[ 0x8080]e1 2f ff 1ebx lr
[ 0x807c]e8 9d 68 00ldm sp, {fp, sp, lr}
[ 0x8078]e2 4b d0 0csub sp, fp, #12, 0
[ 0x8074]e0 83 00 00add r0, r3, r0
[ 0x8070]e5 1b 30 1cldr r3, [fp, #-28]
[ 0x806c]eb ff ff e7bl 0x8010 <abs>
[ 0x8068]e5 1b 00 14ldr r0, [fp, #-20]
[ 0x8064]da ff ff f7ble 0x8048 <make_array+24>
[ 0x8060]e3 53 00 03cmp r3, #3, 0
[ 0x805c]e2 83 30 01add r3, r3, #1, 0
[ 0x8058]e5 01 20 10str r2, [r1, #-16]
[ 0x8054]e0 81 11 03add r1, r1, r3, lsl #2
[ 0x8050]e2 4b 10 0csub r1, fp, #12, 0
[ 0x804c]e1 a0 20 82lsl r2, r2, #1
[ 0x8048]e0 83 21 03add r2, r3, r3, lsl #2
[ 0x8044]ea 00 00 05b 0x8060 <make_array+48>
[ 0x8040]e3 a0 30 00mov r3, #0, 0
[ 0x803c]e2 4d d0 10sub sp, sp, #16, 0
[ 0x8038]e2 4c b0 04sub fp, r12, #4, 0
[ 0x8034]e9 2d d8 00push {fp, r12, lr, pc}
[ 0x8030]e1 a0 c0 0d<make_array+0>mov r12, sp
[ 0x802c]e1 2f ff 1ebx lr
[ 0x8028]e8 9d 68 00ldm sp, {fp, sp, lr}
[ 0x8024]e2 4b d0 0csub sp, fp, #12, 0
[ 0x8020]b2 60 00 00rsblt r0, r0, #0, 0
[ 0x801c]e3 50 00 00cmp r0, #0, 0
[ 0x8018]e2 4c b0 04sub fp, r12, #4, 0
[ 0x8014]e9 2d d8 00push {fp, r12, lr, pc}
[ 0x8010]e1 a0 c0 0d<abs+0>mov r12, sp
[ 0x800c]ea ff ff fe b 0x800c <hang>
[ 0x8008]eb 00 00 31bl 0x80d4 <_cstart>
[ 0x8004]e3 a0 b0 00mov fp, #0, 0
[ 0x8000]e3 a0 d3 02<_start+0>mov sp, #134217728