Commit | Line | Data |
---|---|---|
639e30d2 NS |
1 | #objdump: -drw --show-raw-insn |
2 | #name: BLX encoding | |
ac7f631b NC |
3 | # This test is only valid on ELF based ports. |
4 | #not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* | |
639e30d2 NS |
5 | |
6 | .*: file format .*arm.* | |
7 | ||
8 | ||
9 | Disassembly of section .text: | |
10 | ||
11 | 00000000 <ARM>: | |
12 | 0: e1a00000 nop ; \(mov r0, r0\) | |
13 | ||
14 | 00000004 <THUMB>: | |
15 | 4: f7ff effc blx 0 <ARM> | |
16 | 8: 46c0 nop ; \(mov r8, r8\) | |
17 | a: f7ff effa blx 0 <ARM> | |
18 | e: 46c0 nop ; \(mov r8, r8\) | |
19 | 10: f7ff eff6 blx 0 <ARM> | |
20 | 14: f7ff eff5 ; <UNDEFINED> instruction: 0xf7ffeff5 | |
21 | 18: 46c0 nop ; \(mov r8, r8\) | |
22 | 1a: f7ff eff1 ; <UNDEFINED> instruction: 0xf7ffeff1 | |
23 | 1e: f7ff eff0 blx 0 <ARM> | |
68246214 | 24 | 22: 46c0 nop ; \(mov r8, r8\) |