1#objdump: -dr --prefix-addresses --show-raw-insn 2#name: MIPS beq 3#source: beq.s 4#as: -32 5 6# Test the beq macro (microMIPS). 7 8.*: +file format .*mips.* 9 10Disassembly of section \.text: 11[0-9a-f]+ <[^>]*> 94a4 fffe beq a0,a1,0+0000 <text_label> 12 0: R_MICROMIPS_PC16_S1 text_label 13[0-9a-f]+ <[^>]*> 0c00 nop 14[0-9a-f]+ <[^>]*> 40e4 fffe beqzc a0,0+0006 <text_label\+0x6> 15 6: R_MICROMIPS_PC16_S1 text_label 16[0-9a-f]+ <[^>]*> 3020 0001 li at,1 17[0-9a-f]+ <[^>]*> 9424 fffe beq a0,at,0+000e <text_label\+0xe> 18 e: R_MICROMIPS_PC16_S1 text_label 19[0-9a-f]+ <[^>]*> 0c00 nop 20[0-9a-f]+ <[^>]*> 5020 8000 li at,0x8000 21[0-9a-f]+ <[^>]*> 9424 fffe beq a0,at,0+0018 <text_label\+0x18> 22 18: R_MICROMIPS_PC16_S1 text_label 23[0-9a-f]+ <[^>]*> 0c00 nop 24[0-9a-f]+ <[^>]*> 3020 8000 li at,-32768 25[0-9a-f]+ <[^>]*> 9424 fffe beq a0,at,0+0022 <text_label\+0x22> 26 22: R_MICROMIPS_PC16_S1 text_label 27[0-9a-f]+ <[^>]*> 0c00 nop 28[0-9a-f]+ <[^>]*> 41a1 0001 lui at,0x1 29[0-9a-f]+ <[^>]*> 9424 fffe beq a0,at,0+002c <text_label\+0x2c> 30 2c: R_MICROMIPS_PC16_S1 text_label 31[0-9a-f]+ <[^>]*> 0c00 nop 32[0-9a-f]+ <[^>]*> 41a1 0001 lui at,0x1 33[0-9a-f]+ <[^>]*> 5021 a5a5 ori at,at,0xa5a5 34[0-9a-f]+ <[^>]*> 9424 fffe beq a0,at,0+003a <text_label\+0x3a> 35 3a: R_MICROMIPS_PC16_S1 text_label 36[0-9a-f]+ <[^>]*> 0c00 nop 37[0-9a-f]+ <[^>]*> 40a4 fffe bnezc a0,0+0040 <text_label\+0x40> 38 40: R_MICROMIPS_PC16_S1 text_label 39 \.\.\. 40[0-9a-f]+ <[^>]*> 40e0 fffe bc 00020044 <text_label\+0x20044> 41 20044: R_MICROMIPS_PC16_S1 text_label 42[0-9a-f]+ <[^>]*> 4060 fffe bal 00020048 <text_label\+0x20048> 43 20048: R_MICROMIPS_PC16_S1 text_label 44[0-9a-f]+ <[^>]*> 0000 0000 nop 45[0-9a-f]+ <[^>]*> 40e0 fffe bc 00020050 <text_label\+0x20050> 46 20050: R_MICROMIPS_PC16_S1 external_label 47[0-9a-f]+ <[^>]*> 4060 fffe bal 00020054 <text_label\+0x20054> 48 20054: R_MICROMIPS_PC16_S1 external_label 49[0-9a-f]+ <[^>]*> 0000 0000 nop 50 \.\.\. 51