| #objdump: -dr --prefix-addresses --show-raw-insn |
| #name: ARM load/store with 0 offset |
| #as: |
| |
| # Test the standard ARM instructions: |
| |
| .*: +file format .*arm.* |
| |
| Disassembly of section .text: |
| 0+000 <[^>]*> e5121000 ldr r1, \[r2, #-0\] |
| 0+004 <[^>]*> e5121000 ldr r1, \[r2, #-0\] |
| 0+008 <[^>]*> e5921000 ldr r1, \[r2\] |
| 0+00c <[^>]*> e5921000 ldr r1, \[r2\] |
| 0+010 <[^>]*> e5321000 ldr r1, \[r2, #-0\]! |
| 0+014 <[^>]*> e5321000 ldr r1, \[r2, #-0\]! |
| 0+018 <[^>]*> e5b21000 ldr r1, \[r2, #0\]! |
| 0+01c <[^>]*> e5b21000 ldr r1, \[r2, #0\]! |
| 0+020 <[^>]*> e4121000 ldr r1, \[r2\], #-0 |
| 0+024 <[^>]*> e4121000 ldr r1, \[r2\], #-0 |
| 0+028 <[^>]*> e4921000 ldr r1, \[r2\], #0 |
| 0+02c <[^>]*> e4921000 ldr r1, \[r2\], #0 |
| 0+030 <[^>]*> e5b21000 ldr r1, \[r2, #0\]! |
| 0+034 <[^>]*> e5921000 ldr r1, \[r2\] |
| 0+038 <[^>]*> e4f21000 ldrbt r1, \[r2\], #0 |
| 0+03c <[^>]*> e4721000 ldrbt r1, \[r2\], #-0 |
| 0+040 <[^>]*> e4f21000 ldrbt r1, \[r2\], #0 |
| 0+044 <[^>]*> 5d565300 ldclpl 3, cr5, \[r6, #-0\] |
| 0+048 <[^>]*> 5dd65300 ldclpl 3, cr5, \[r6\] |
| 0+04c <[^>]*> e5021000 str r1, \[r2, #-0\] |
| 0+050 <[^>]*> e5021000 str r1, \[r2, #-0\] |
| 0+054 <[^>]*> e5821000 str r1, \[r2\] |
| 0+058 <[^>]*> e5821000 str r1, \[r2\] |
| 0+05c <[^>]*> e5221000 str r1, \[r2, #-0\]! |
| 0+060 <[^>]*> e5221000 str r1, \[r2, #-0\]! |
| 0+064 <[^>]*> e5a21000 str r1, \[r2, #0\]! |
| 0+068 <[^>]*> e5a21000 str r1, \[r2, #0\]! |
| 0+06c <[^>]*> e4021000 str r1, \[r2\], #-0 |
| 0+070 <[^>]*> e4021000 str r1, \[r2\], #-0 |
| 0+074 <[^>]*> e4821000 str r1, \[r2\], #0 |
| 0+078 <[^>]*> e4821000 str r1, \[r2\], #0 |
| 0+07c <[^>]*> e5a21000 str r1, \[r2, #0\]! |
| 0+080 <[^>]*> e5821000 str r1, \[r2\] |
| 0+084 <[^>]*> e4e21000 strbt r1, \[r2\], #0 |
| 0+088 <[^>]*> e4621000 strbt r1, \[r2\], #-0 |
| 0+08c <[^>]*> e4e21000 strbt r1, \[r2\], #0 |
| 0+090 <[^>]*> 5d465300 stclpl 3, cr5, \[r6, #-0\] |
| 0+094 <[^>]*> 5dc65300 stclpl 3, cr5, \[r6\] |
| 0+098 <[^>]*> e59f0004 ldr r0, \[pc, #4\] ; .* |
| 0+09c <[^>]*> e59f0000 ldr r0, \[pc\] ; .* |
| 0+0a0 <[^>]*> e51f0004 ldr r0, \[pc, #-4\] ; .* |
| 0+0a4 <[^>]*> 00000000 .word 0x00000000 |