1 #objdump: -dr --prefix-addresses --show-raw-insn 2 #name: NIOS2 R2 branch 3 #as: -march=r2 4 #source: branch.s 5 6 # Test the branch instructions. 7 dump.o: file format elf32-littlenios2 8 9 Disassembly of section .text: 10 0+0000 <[^>]*> 0000292a beq r4,r5,00000004 <[^>]*> 11 [ ]*0: R_NIOS2_PCREL16 text_label 12 0+0004 <[^>]*> 00002912 bge r4,r5,00000008 <[^>]*> 13 [ ]*4: R_NIOS2_PCREL16 text_label 14 0+0008 <[^>]*> 00002932 bgeu r4,r5,0000000c <[^>]*> 15 [ ]*8: R_NIOS2_PCREL16 text_label 16 0+000c <[^>]*> 0000291a blt r4,r5,00000010 <[^>]*> 17 [ ]*c: R_NIOS2_PCREL16 text_label 18 0+0010 <[^>]*> 0000293a bltu r4,r5,00000014 <[^>]*> 19 [ ]*10: R_NIOS2_PCREL16 text_label 20 0+0014 <[^>]*> 00002922 bne r4,r5,00000018 <[^>]*> 21 [ ]*14: R_NIOS2_PCREL16 text_label 22 0+0018 <[^>]*> 00000002 br 0000001c <[^>]*> 23 [ ]*18: R_NIOS2_PCREL16 external_label 24