Commit | Line | Data |
---|---|---|
e28cd48c RE |
1 | #objdump: -dr --prefix-addresses --show-raw-insn |
2 | #name: ARM ldr with immediate constant | |
49e5c6c5 | 3 | #as: -mcpu=arm7m -EL |
2ac93be7 | 4 | # skip: *-*-pe *-*-wince |
e28cd48c RE |
5 | |
6 | .*: +file format .*arm.* | |
7 | ||
8 | Disassembly of section .text: | |
fe56b6ce | 9 | 0+00 <[^>]*> e3a00000 ? mov r0, #0 |
e28cd48c | 10 | 0+04 <[^>]*> e3a004ff ? mov r0, #-16777216 ; 0xff000000 |
fe56b6ce | 11 | 0+08 <[^>]*> e3e00000 ? mvn r0, #0 |
e28cd48c RE |
12 | 0+0c <[^>]*> e51f0004 ? ldr r0, \[pc, #-4\] ; 0+10 <[^>]*> |
13 | 0+10 <[^>]*> 0fff0000 ? .* | |
fe56b6ce | 14 | 0+14 <[^>]*> e3a0e000 ? mov lr, #0 |
e28cd48c RE |
15 | 0+18 <[^>]*> e3a0e8ff ? mov lr, #16711680 ; 0xff0000 |
16 | 0+1c <[^>]*> e3e0e8ff ? mvn lr, #16711680 ; 0xff0000 | |
17 | 0+20 <[^>]*> e51fe004 ? ldr lr, \[pc, #-4\] ; 0+24 <[^>]*> | |
18 | 0+24 <[^>]*> 00fff000 ? .* | |
fe56b6ce | 19 | 0+28 <[^>]*> 03a00000 ? moveq r0, #0 |
e28cd48c RE |
20 | 0+2c <[^>]*> 03a00cff ? moveq r0, #65280 ; 0xff00 |
21 | 0+30 <[^>]*> 03e00cff ? mvneq r0, #65280 ; 0xff00 | |
22 | 0+34 <[^>]*> 051f0004 ? ldreq r0, \[pc, #-4\] ; 0+38 <[^>]*> | |
23 | 0+38 <[^>]*> 000fff00 ? .* | |
fe56b6ce | 24 | 0+3c <[^>]*> 43a0b000 ? movmi fp, #0 |
e28cd48c RE |
25 | 0+40 <[^>]*> 43a0b0ff ? movmi fp, #255 ; 0xff |
26 | 0+44 <[^>]*> 43e0b0ff ? mvnmi fp, #255 ; 0xff | |
27 | 0+48 <[^>]*> 451fb004 ? ldrmi fp, \[pc, #-4\] ; 0+4c <[^>]*> | |
28 | 0+4c <[^>]*> 0000fff0 ? .* | |
8335d6aa JW |
29 | 0+50 <[^>]*> e59f0020 ? ldr r0, \[pc, #32\] ; 0+78 <[^>]*> |
30 | 0+54 <[^>]*> e59f301c ? ldr r3, \[pc, #28\] ; 0+78 <[^>]*> | |
31 | 0+58 <[^>]*> e59f8018 ? ldr r8, \[pc, #24\] ; 0+78 <[^>]*> | |
32 | 0+5c <[^>]*> e59fb014 ? ldr fp, \[pc, #20\] ; 0+78 <[^>]*> | |
33 | 0+60 <[^>]*> e59fe010 ? ldr lr, \[pc, #16\] ; 0+78 <[^>]*> | |
34 | 0+64 <[^>]*> e59f0010 ? ldr r0, \[pc, #16\] ; 0+7c <[^>]*> | |
35 | 0+68 <[^>]*> e59f300c ? ldr r3, \[pc, #12\] ; 0+7c <[^>]*> | |
36 | 0+6c <[^>]*> e59f8008 ? ldr r8, \[pc, #8\] ; 0+7c <[^>]*> | |
37 | 0+70 <[^>]*> e59fb004 ? ldr fp, \[pc, #4\] ; 0+7c <[^>]*> | |
38 | 0+74 <[^>]*> e51fe000 ? ldr lr, \[pc, #-0\] ; 0+7c <[^>]*> | |
74b92a5c NC |
39 | #pass |
40 |