1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: NIOS2 CDX sub.n
3 #as: -march=r2
4 
5 # Test the sub.n and subi.n instructions
6 
7 .*: +file format elf32-littlenios2
8 
9 Disassembly of section .text:
10 0+0000 <[^>]*> c901      	sub.n	r4,r4,r4
11 0+0002 <[^>]*> 8911      	subi.n	r4,r4,1
12 0+0004 <[^>]*> 9911      	subi.n	r4,r4,2
13 0+0006 <[^>]*> a911      	subi.n	r4,r4,4
14 0+0008 <[^>]*> b911      	subi.n	r4,r4,8
15 0+000a <[^>]*> c911      	subi.n	r4,r4,16
16 0+000c <[^>]*> d911      	subi.n	r4,r4,32
17 0+000e <[^>]*> e911      	subi.n	r4,r4,64
18 0+0010 <[^>]*> f911      	subi.n	r4,r4,128
19 	...
20