1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: NIOS2 R2 add
3 #as: -march=r2
4 #source: add.s
5 
6 # Test the add instruction
7 
8 .*: +file format elf32-littlenios2
9 
10 Disassembly of section .text:
11 0+0000 <[^>]*> c4042120 	add	r4,r4,r4
12 0+0004 <[^>]*> 7fff2104 	addi	r4,r4,32767
13 0+0008 <[^>]*> 80002104 	addi	r4,r4,-32768
14 0+000c <[^>]*> 00002104 	addi	r4,r4,0
15 0+0010 <[^>]*> ffff2104 	addi	r4,r4,-1
16 0+0014 <[^>]*> ffff2104 	addi	r4,r4,-1
17 0+0018 <[^>]*> 34562104 	addi	r4,r4,13398
18 0+001c <[^>]*> c4000020 	nop
19