test_cases:
  -
    input:
      bytes: [ 0x94, 0x00, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "b 1336"
  -
    input:
      bytes: [ 0x94, 0xc9, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "beq $t1, $a2, 1336"
  -
    input:
      bytes: [ 0x40, 0x46, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "bgez $a2, 1336"
  -
    input:
      bytes: [ 0x40, 0x66, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "bgezal $a2, 1336"
  -
    input:
      bytes: [ 0x40, 0x26, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "bltzal $a2, 1336"
  -
    input:
      bytes: [ 0x40, 0xc6, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "bgtz $a2, 1336"
  -
    input:
      bytes: [ 0x40, 0x86, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "blez $a2, 1336"
  -
    input:
      bytes: [ 0xb4, 0xc9, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "bne $t1, $a2, 1336"
  -
    input:
      bytes: [ 0x40, 0x06, 0x02, 0x9a ]
      arch: "CS_ARCH_MIPS"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
    expected:
      insns:
        -
          asm_text: "bltz $a2, 1336"
