test_cases:
  -
    input:
      bytes: [ 0x08, 0x41, 0x03, 0xc3 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hadd r1,rp,r3"
  -
    input:
      bytes: [ 0x08, 0x41, 0x03, 0x43 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hadd,ss r1,rp,r3"
  -
    input:
      bytes: [ 0x08, 0x41, 0x03, 0x03 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hadd,us r1,rp,r3"
  -
    input:
      bytes: [ 0x08, 0x41, 0x01, 0xc3 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hsub r1,rp,r3"
  -
    input:
      bytes: [ 0x08, 0x41, 0x01, 0x43 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hsub,ss r1,rp,r3"
  -
    input:
      bytes: [ 0x08, 0x41, 0x01, 0x03 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hsub,us r1,rp,r3"
  -
    input:
      bytes: [ 0x08, 0x41, 0x02, 0xc3 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "havg r1,rp,r3"
  -
    input:
      bytes: [ 0x08, 0x41, 0x07, 0xc3 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hshladd r1,3,rp,r3"
  -
    input:
      bytes: [ 0x08, 0x41, 0x05, 0xc3 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hshradd r1,3,rp,r3"
  -
    input:
      bytes: [ 0xf8, 0x01, 0x88, 0xc2 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hshl r1,3,rp"
  -
    input:
      bytes: [ 0xf8, 0x20, 0xcc, 0xc2 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "hshr,s r1,3,rp"
  -
    input:
      bytes: [ 0xf8, 0x21, 0x00, 0x02 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "permh,0000 r1,rp"
  -
    input:
      bytes: [ 0xf8, 0x21, 0x06, 0xc2 ]
      arch: "CS_ARCH_HPPA"
      options: [ "CS_MODE_BIG_ENDIAN", "CS_MODE_HPPA_20" ]
    expected:
      insns:
        -
          asm_text: "permh,0123 r1,rp"
