| 1 | #objdump: -dr --prefix-addresses --show-raw-insn |
| 2 | #name: ARM load/store with 0 offset |
| 3 | #as: |
| 4 | #skip: *-*-pe *-wince-* *-*-coff |
| 5 | |
| 6 | # Test the standard ARM instructions: |
| 7 | |
| 8 | .*: +file format .*arm.* |
| 9 | |
| 10 | Disassembly of section .text: |
| 11 | 0+000 <[^>]*> e5121000 ldr r1, \[r2, #-0\] |
| 12 | 0+004 <[^>]*> e5121000 ldr r1, \[r2, #-0\] |
| 13 | 0+008 <[^>]*> e5921000 ldr r1, \[r2\] |
| 14 | 0+00c <[^>]*> e5921000 ldr r1, \[r2\] |
| 15 | 0+010 <[^>]*> e5321000 ldr r1, \[r2, #-0\]! |
| 16 | 0+014 <[^>]*> e5321000 ldr r1, \[r2, #-0\]! |
| 17 | 0+018 <[^>]*> e5b21000 ldr r1, \[r2, #0\]! |
| 18 | 0+01c <[^>]*> e5b21000 ldr r1, \[r2, #0\]! |
| 19 | 0+020 <[^>]*> e4121000 ldr r1, \[r2\], #-0 |
| 20 | 0+024 <[^>]*> e4121000 ldr r1, \[r2\], #-0 |
| 21 | 0+028 <[^>]*> e4921000 ldr r1, \[r2\], #0 |
| 22 | 0+02c <[^>]*> e4921000 ldr r1, \[r2\], #0 |
| 23 | 0+030 <[^>]*> e5b21000 ldr r1, \[r2, #0\]! |
| 24 | 0+034 <[^>]*> e5921000 ldr r1, \[r2\] |
| 25 | 0+038 <[^>]*> e4f21000 ldrbt r1, \[r2\], #0 |
| 26 | 0+03c <[^>]*> e4721000 ldrbt r1, \[r2\], #-0 |
| 27 | 0+040 <[^>]*> e4f21000 ldrbt r1, \[r2\], #0 |
| 28 | 0+044 <[^>]*> 5d565300 ldclpl 3, cr5, \[r6, #-0\] |
| 29 | 0+048 <[^>]*> 5dd65300 ldclpl 3, cr5, \[r6\] |
| 30 | 0+04c <[^>]*> e5021000 str r1, \[r2, #-0\] |
| 31 | 0+050 <[^>]*> e5021000 str r1, \[r2, #-0\] |
| 32 | 0+054 <[^>]*> e5821000 str r1, \[r2\] |
| 33 | 0+058 <[^>]*> e5821000 str r1, \[r2\] |
| 34 | 0+05c <[^>]*> e5221000 str r1, \[r2, #-0\]! |
| 35 | 0+060 <[^>]*> e5221000 str r1, \[r2, #-0\]! |
| 36 | 0+064 <[^>]*> e5a21000 str r1, \[r2, #0\]! |
| 37 | 0+068 <[^>]*> e5a21000 str r1, \[r2, #0\]! |
| 38 | 0+06c <[^>]*> e4021000 str r1, \[r2\], #-0 |
| 39 | 0+070 <[^>]*> e4021000 str r1, \[r2\], #-0 |
| 40 | 0+074 <[^>]*> e4821000 str r1, \[r2\], #0 |
| 41 | 0+078 <[^>]*> e4821000 str r1, \[r2\], #0 |
| 42 | 0+07c <[^>]*> e5a21000 str r1, \[r2, #0\]! |
| 43 | 0+080 <[^>]*> e5821000 str r1, \[r2\] |
| 44 | 0+084 <[^>]*> e4e21000 strbt r1, \[r2\], #0 |
| 45 | 0+088 <[^>]*> e4621000 strbt r1, \[r2\], #-0 |
| 46 | 0+08c <[^>]*> e4e21000 strbt r1, \[r2\], #0 |
| 47 | 0+090 <[^>]*> 5d465300 stclpl 3, cr5, \[r6, #-0\] |
| 48 | 0+094 <[^>]*> 5dc65300 stclpl 3, cr5, \[r6\] |
| 49 | 0+098 <[^>]*> e59f0004 ldr r0, \[pc, #4\] ; .* |
| 50 | 0+09c <[^>]*> e59f0000 ldr r0, \[pc\] ; .* |
| 51 | 0+0a0 <[^>]*> e51f0004 ldr r0, \[pc, #-4\] ; .* |
| 52 | 0+0a4 <[^>]*> 00000000 .word 0x00000000 |