1 #objdump: -dr --prefix-addresses --show-raw-insn 2 #name: NIOS2 R2 comments 3 #as: -march=r2 4 #source: comments.s 5 6 # Test the add instruction 7 8 .*: +file format elf32-littlenios2 9 10 Disassembly of section .text: 11 0+0000 <[^>]*> 00180002 br 0000001c <start> 12 0+0004 <[^>]*> 00000002 br 00000008 <abort> 13 0+0008 <[^>]*> 00001814 movui r3,0 14 0+000c <[^>]*> 00011014 movui r2,1 15 0+0010 <[^>]*> 00001814 movui r3,0 16 0+0014 <[^>]*> 00001014 movui r2,0 17 0+0018 <[^>]*> 00280002 br 00000044 <exit> 18 0+001c <[^>]*> fffc1084 addi r2,r2,-4 19 0+0020 <[^>]*> 00015814 movui r11,1 20 0+0024 <[^>]*> 00002814 movui r5,0 21 0+0028 <[^>]*> 00003014 movui r6,0 22 0+002c <[^>]*> 00000002 br 00000030 <ldst> 23 0+0030 <[^>]*> f00c1014 movui r2,61452 24 0+0034 <[^>]*> facea014 movui r20,64206 25 0+0038 <[^>]*> 0000a0b7 stw r20,0\(r2\) 26 0+003c <[^>]*> 0000a897 ldw r21,0\(r2\) 27 0+0040 <[^>]*> ffcc0002 br 00000010 <end> 28 0+0044 <[^>]*> fffc0002 br 00000044 <exit> 29