1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: NIOS2 R2 and
3 #as: -march=r2
4 #source: and.s
5 
6 # Test the and macro.
7 
8 .*: +file format elf32-littlenios2
9 
10 Disassembly of section .text:
11 0+0000 <[^>]*> 38042120 	and	r4,r4,r4
12 0+0004 <[^>]*> 7fff210c 	andi	r4,r4,32767
13 0+0008 <[^>]*> 8000210c 	andi	r4,r4,32768
14 0+000c <[^>]*> ffff210c 	andi	r4,r4,65535
15 0+0010 <[^>]*> 0000210c 	andi	r4,r4,0
16 0+0014 <[^>]*> 7fff212c 	andhi	r4,r4,32767
17 0+0018 <[^>]*> 8000212c 	andhi	r4,r4,32768
18 0+001c <[^>]*> ffff212c 	andhi	r4,r4,65535
19 0+0020 <[^>]*> 0000212c 	andhi	r4,r4,0
20