Commit | Line | Data |
---|---|---|
2c32be70 CM |
1 | .thumb |
2 | .syntax unified | |
3 | .thumb_func | |
4 | thumb2_ldr: | |
5 | # These can be encoded into movs since constant is small | |
6 | # And register can be encoded in 3 bits | |
7 | ldr r0,=0x00 | |
8 | ldr r1,=0x08 | |
9 | ldr r2,=0x51 | |
10 | ldr r3,=0x1F | |
11 | ldr r4,=0x2F | |
12 | ldr r5,=0x3F | |
13 | ldr r6,=0x80 | |
14 | ldr r7,=0xFF | |
15 | # These shall be encoded into mov.w | |
16 | # Since register cannot be encoded in 3 bits | |
17 | ldr r8,=0x00 | |
18 | ldr r9,=0x08 | |
19 | ldr r10,=0x51 | |
20 | ldr r11,=0x1F | |
21 | ldr r12,=0x2F | |
22 | ldr r13,=0x3F | |
23 | ldr r14,=0x80 | |
24 | ldr r15,=0xFF |