Commit | Line | Data |
---|---|---|
a504d23a LA |
1 | .syntax unified |
2 | .cpu cortex-m4 | |
3 | .fpu fpv4-sp-d16 | |
4 | .text | |
5 | .align 1 | |
6 | .thumb | |
7 | .thumb_func | |
8 | .global _start | |
9 | _start: | |
10 | .space 0xFFFF00 | |
11 | ||
12 | @ Multiple load, case #2 | |
13 | @ ldm rx, {...} -> | |
14 | @ mov ry, rx where ry is the lowest register from upper_list | |
15 | @ ldm ry!, { lower_list } | |
16 | @ ldm ry, { upper_list } | |
17 | ldm.w r0, {r1-r9} | |
18 | ||
19 | .space 0x100 | |
20 | ||
21 | @ Check that the linker never generates a wrong branch | |
22 | @ ldm rx, {...} -> ldm rx, {...} | |
23 | @ Emit a warning during the link phase and keep the same instruction | |
24 | ||
25 | ldm.w r9, {r1-r9} | |
26 | ||
27 | nop |