Commit | Line | Data |
---|---|---|
0cb5a38a SL |
1 | #objdump: -dr --prefix-addresses --show-raw-insn |
2 | #name: NIOS2 R2 movia | |
3 | #as: -march=r2 | |
4 | #source: movia.s | |
5 | ||
6 | # Test the movia instruction | |
7 | ||
8 | .*: +file format elf32-littlenios2 | |
9 | ||
10 | Disassembly of section .text: | |
11 | 0+0000 <[^>]*> 80811034 movhi r2,32897 | |
12 | 0+0004 <[^>]*> 80801084 addi r2,r2,-32640 | |
13 | 0+0008 <[^>]*> 00001834 movhi r3,0 | |
14 | 8: R_NIOS2_HIADJ16 sym-0x80000000 | |
15 | 0+000c <[^>]*> 000018c4 addi r3,r3,0 | |
16 | c: R_NIOS2_LO16 sym-0x80000000 | |
17 | 0+0010 <[^>]*> 00002034 movhi r4,0 | |
18 | 10: R_NIOS2_HIADJ16 sym-0x7fffffff | |
19 | 0+0014 <[^>]*> 00002104 addi r4,r4,0 | |
20 | 14: R_NIOS2_LO16 sym-0x7fffffff | |
21 | 0+0018 <[^>]*> 00001034 movhi r2,0 | |
22 | 0+001c <[^>]*> fff01084 addi r2,r2,-16 |