1 .text 2 3 .space 0x1000 4 5 .ent foo 6 .set mips16 7foo: 8 b bar + 4 + (0x8000 << 1) 9 bteqz bar + 4 + (0x8000 << 1) 10 btnez bar + 4 + (0x8000 << 1) 11 beqz $2, bar + 4 + (0x8000 << 1) 12 bnez $2, bar + 4 + (0x8000 << 1) 13 b bar + 4 - (0x8001 << 1) 14 bteqz bar + 4 - (0x8001 << 1) 15 btnez bar + 4 - (0x8001 << 1) 16 beqz $2, bar + 4 - (0x8001 << 1) 17 bnez $2, bar + 4 - (0x8001 << 1) 18 nop 19 .set nomips16 20 .end foo 21 22# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... 23 .align 4, 0 24 .space 16 25