Commit | Line | Data |
---|---|---|
f6b2b12d AV |
1 | .global _start |
2 | .syntax unified | |
3 | ||
4 | @ We will place the section .text at 0x1000. | |
5 | ||
6 | .text | |
7 | .thumb_func | |
8 | ||
9 | _start: | |
10 | bfcsel .LB1, bar, .LB2, eq | |
11 | mov r3, r4 | |
12 | mov r1, r2 | |
13 | .LB1: | |
14 | beq .LB2 | |
15 | .LB2: | |
16 | mov r3, r2 | |
17 | ||
18 | @ We will place the section .foo at 0x1001000. | |
19 | ||
20 | .section .foo, "xa" | |
21 | .thumb_func | |
22 | ||
23 | bar: | |
24 | bx lr | |
25 |