test_cases:
  -
    input:
      bytes: [ 0x7c, 0x22, 0x18, 0xbe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "lbepx 1, 2, 3"

  -
    input:
      bytes: [ 0x7c, 0x85, 0x34, 0xbe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "lfdepx 4, 5, 6"

  -
    input:
      bytes: [ 0x7c, 0xe8, 0x4a, 0x3e ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "lhepx 7, 8, 9"

  -
    input:
      bytes: [ 0x7d, 0x4b, 0x60, 0x3e ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "lwepx 10, 11, 12"

  -
    input:
      bytes: [ 0x7d, 0xae, 0x79, 0xbe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "stbepx 13, 14, 15"

  -
    input:
      bytes: [ 0x7e, 0x11, 0x95, 0xbe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "stfdepx 16, 17, 18"

  -
    input:
      bytes: [ 0x7e, 0x74, 0xab, 0x3e ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "sthepx 19, 20, 21"

  -
    input:
      bytes: [ 0x7e, 0xd7, 0xc1, 0x3e ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "stwepx 22, 23, 24"

  -
    input:
      bytes: [ 0x7c, 0x19, 0xd0, 0xfe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "dcbfep 25, 26"

  -
    input:
      bytes: [ 0x7c, 0x1b, 0xe0, 0x7e ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "dcbstep 27, 28"

  -
    input:
      bytes: [ 0x7f, 0xbe, 0xfa, 0x7e ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "dcbtep 29, 30, 31"

  -
    input:
      bytes: [ 0x7c, 0x01, 0x11, 0xfe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "dcbtstep 0, 1, 2"

  -
    input:
      bytes: [ 0x7c, 0x03, 0x27, 0xfe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "dcbzep 3, 4"

  -
    input:
      bytes: [ 0x7c, 0x25, 0x37, 0xfe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "dcbzlep 5, 6"

  -
    input:
      bytes: [ 0x7c, 0x07, 0x47, 0xbe ]
      arch: "CS_ARCH_PPC"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_OPT_SYNTAX_NOREGNAME", "powerpc-unknown-unknown", "CS_MODE_BIG_ENDIAN" ]
    expected:
      insns:
        -
          asm_text: "icbiep 7, 8"
