Код: Выделить всё
Disassembly of section .text:
00000000 <_entry_point-0x40>:
BFD: Dwarf Error: mangled line number section.
0: 5000 str r0, [r0, r0]
2: 2000 movs r0, #0
4: 0041 lsls r1, r0, #1
6: 0000 movs r0, r0
8: 00e7 lsls r7, r4, #3
a: 0000 movs r0, r0
c: 00e9 lsls r1, r5, #3
e: 0000 movs r0, r0
10: 00ef lsls r7, r5, #3
12: 0000 movs r0, r0
14: 00f1 lsls r1, r6, #3
16: 0000 movs r0, r0
18: 00f3 lsls r3, r6, #3
...
3a: 0000 movs r0, r0
3c: 00f5 lsls r5, r6, #3
...
00000040 <_entry_point>:
_entry_point():
40: 4932 ldr r1, [pc, #200] ; (10c <_flash_acr>)
42: 6808 ldr r0, [r1, #0]
44: f040 0012 orr.w r0, r0, #18
48: 6008 str r0, [r1, #0]
4a: 4f2f ldr r7, [pc, #188] ; (108 <_rcc_base>)
4c: 6838 ldr r0, [r7, #0]
4e: f040 5080 orr.w r0, r0, #268435456 ; 0x10000000
52: f440 3080 orr.w r0, r0, #65536 ; 0x10000
56: 6038 str r0, [r7, #0]
58: 6838 ldr r0, [r7, #0]
5a: f410 3f00 tst.w r0, #131072 ; 0x20000
5e: d0fb beq.n 58 <_entry_point+0x18>
60: 6878 ldr r0, [r7, #4]
62: f440 5010 orr.w r0, r0, #9216 ; 0x2400
66: f440 10e8 orr.w r0, r0, #1900544 ; 0x1d0000
6a: 6078 str r0, [r7, #4]
6c: 6838 ldr r0, [r7, #0]
6e: f040 7080 orr.w r0, r0, #16777216 ; 0x1000000
72: 6038 str r0, [r7, #0]
74: 6838 ldr r0, [r7, #0]
76: f010 7f00 tst.w r0, #33554432 ; 0x2000000
7a: d0fb beq.n 74 <_entry_point+0x34>
7c: 6878 ldr r0, [r7, #4]
7e: f040 0002 orr.w r0, r0, #2
82: 6078 str r0, [r7, #4]
84: 6878 ldr r0, [r7, #4]
86: f010 0f08 tst.w r0, #8
8a: d0fb beq.n 84 <_entry_point+0x44>
8c: 69b8 ldr r0, [r7, #24]
8e: f040 0008 orr.w r0, r0, #8
92: 61b8 str r0, [r7, #24]
94: 4f20 ldr r7, [pc, #128] ; (118 <_gpiob_base>)
96: 4821 ldr r0, [pc, #132] ; (11c <_gpiob_bits>)
98: 6038 str r0, [r7, #0]
9a: f44f 70fa mov.w r0, #500 ; 0x1f4
9e: bfe4 itt al
a0: 2200 moval r2, #0
a2: 2303 moval r3, #3
a4: 60fb str r3, [r7, #12]
a6: f000 f804 bl b2 <_delay_ms>
aa: 60fa str r2, [r7, #12]
ac: f000 f801 bl b2 <_delay_ms>
b0: e7f8 b.n a4 <_entry_point+0x64>
000000b2 <_delay_ms>:
_delay_ms():
b2: b40e push {r1, r2, r3}
b4: 4916 ldr r1, [pc, #88] ; (110 <_stk_base>)
b6: ea82 0202 eor.w r2, r2, r2
ba: 600a str r2, [r1, #0]
bc: 608a str r2, [r1, #8]
be: 4b11 ldr r3, [pc, #68] ; (104 <_dd_tick>)
c0: 601a str r2, [r3, #0]
c2: 4a14 ldr r2, [pc, #80] ; (114 <_stk_init>)
c4: 604a str r2, [r1, #4]
c6: f04f 0207 mov.w r2, #7
ca: 600a str r2, [r1, #0]
cc: 680a ldr r2, [r1, #0]
ce: f412 3f80 tst.w r2, #65536 ; 0x10000
d2: d0fb beq.n cc <_delay_ms+0x1a>
d4: 4b0b ldr r3, [pc, #44] ; (104 <_dd_tick>)
d6: 681a ldr r2, [r3, #0]
d8: 4282 cmp r2, r0
da: d3f7 bcc.n cc <_delay_ms+0x1a>
dc: ea82 0202 eor.w r2, r2, r2
e0: 600a str r2, [r1, #0]
e2: bc0e pop {r1, r2, r3}
e4: 4770 bx lr
000000e6 <_def_handler>:
_def_handler():
e6: e7fe b.n e6 <_def_handler>
000000e8 <_hrd_handler>:
_hrd_handler():
e8: 4b0d ldr r3, [pc, #52] ; (120 <_hfsr_reg>)
ea: 6818 ldr r0, [r3, #0]
ec: e7fc b.n e8 <_hrd_handler>
000000ee <_mm_handler>:
_mm_handler():
ee: e7fe b.n ee <_mm_handler>
000000f0 <_bus_handler>:
_bus_handler():
f0: e7fe b.n f0 <_bus_handler>
000000f2 <_usg_handler>:
_usg_handler():
f2: e7fe b.n f2 <_usg_handler>
000000f4 <_sti_handler>:
_sti_handler():
f4: b490 push {r4, r7}
f6: 4f03 ldr r7, [pc, #12] ; (104 <_dd_tick>)
f8: 683c ldr r4, [r7, #0]
fa: 3401 adds r4, #1
fc: 603c str r4, [r7, #0]
fe: bc90 pop {r4, r7}
100: 4770 bx lr
102: ffff 0000 vaddl.u<illegal width 64> q8, d15, d0
00000104 <_dd_tick>:
104: 0000 movs r0, r0
106: 2000 movs r0, #0
00000108 <_rcc_base>:
108: 1000 asrs r0, r0, #32
10a: 4002 ands r2, r0
0000010c <_flash_acr>:
10c: 2000 movs r0, #0
10e: 4002 ands r2, r0
00000110 <_stk_base>:
110: e010 b.n 134 <_hfsr_reg+0x14>
112: e000 b.n 116 <_stk_init+0x2>
00000114 <_stk_init>:
114: 1940 adds r0, r0, r5
116: 0001 movs r1, r0
00000118 <_gpiob_base>:
118: 0c00 lsrs r0, r0, #16
11a: 4001 ands r1, r0
0000011c <_gpiob_bits>:
11c: 4433 add r3, r6
11e: 4444 add r4, r8
00000120 <_hfsr_reg>:
120: ed2c e000 stc 0, cr14, [ip, #-0]