Commit | Line | Data |
---|---|---|
23a10334 JZ |
1 | @ Test file for ARM load/store instructions with pc as the base register |
2 | ||
3 | .text | |
4 | .syntax unified | |
5 | .align 2 | |
6 | ldr r1, [pc, #-8] | |
7 | ldr r1, [pc, r2] | |
8 | ||
9 | pld [pc, #-8] | |
10 | pld [pc, r1] | |
11 | ||
12 | pli [pc, #-8] | |
13 | pli [pc, r1] | |
14 | ||
15 | str r1, [pc, #4] |