1 #as: -r
2 #objdump: -dr --prefix-addresses --show-raw-insn
3 #name: NIOS2 selftest
4 
5 # Test the assembler self-test mode on some instructions that
6 # manipulate control registers.  The purpose of this test is to make
7 # sure the assembler doesn't choke, rather than to match the encodings
8 # of the particular instructions in the test here.
9 
10 .*: +file format elf32-littlenios2
11 
12 
13 Disassembly of section .text:
14 0+0000 <[^>]*> 1001703a 	wrctl	status,r2
15 0+0004 <[^>]*> 1001703a 	wrctl	status,r2
16 0+0008 <[^>]*> 1001707a 	wrctl	estatus,r2
17 0+000c <[^>]*> 1001707a 	wrctl	estatus,r2
18 #...
19