test_cases:
  -
    input:
      bytes: [ 0x18, 0x01 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lr %r0, %r1"
  -
    input:
      bytes: [ 0x18, 0x23 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lr %r2, %r3"
  -
    input:
      bytes: [ 0x18, 0x45 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lr %r4, %r5"
  -
    input:
      bytes: [ 0x18, 0x67 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lr %r6, %r7"
  -
    input:
      bytes: [ 0x18, 0x89 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lr %r8, %r9"
  -
    input:
      bytes: [ 0x18, 0xab ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lr %r10, %r11"
  -
    input:
      bytes: [ 0x18, 0xcd ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lr %r12, %r13"
  -
    input:
      bytes: [ 0x18, 0xef ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lr %r14, %r15"
  -
    input:
      bytes: [ 0xb9, 0x04, 0x00, 0x01 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lgr %r0, %r1"
  -
    input:
      bytes: [ 0xb9, 0x04, 0x00, 0x23 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lgr %r2, %r3"
  -
    input:
      bytes: [ 0xb9, 0x04, 0x00, 0x45 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lgr %r4, %r5"
  -
    input:
      bytes: [ 0xb9, 0x04, 0x00, 0x67 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lgr %r6, %r7"
  -
    input:
      bytes: [ 0xb9, 0x04, 0x00, 0x89 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lgr %r8, %r9"
  -
    input:
      bytes: [ 0xb9, 0x04, 0x00, 0xab ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lgr %r10, %r11"
  -
    input:
      bytes: [ 0xb9, 0x04, 0x00, 0xcd ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lgr %r12, %r13"
  -
    input:
      bytes: [ 0xb9, 0x04, 0x00, 0xef ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lgr %r14, %r15"
  -
    input:
      bytes: [ 0xb9, 0x97, 0x00, 0x00 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "dlr %r0, %r0"
  -
    input:
      bytes: [ 0xb9, 0x97, 0x00, 0x20 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "dlr %r2, %r0"
  -
    input:
      bytes: [ 0xb9, 0x97, 0x00, 0x40 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "dlr %r4, %r0"
  -
    input:
      bytes: [ 0xb9, 0x97, 0x00, 0x60 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "dlr %r6, %r0"
  -
    input:
      bytes: [ 0xb9, 0x97, 0x00, 0x80 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "dlr %r8, %r0"
  -
    input:
      bytes: [ 0xb9, 0x97, 0x00, 0xa0 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "dlr %r10, %r0"
  -
    input:
      bytes: [ 0xb9, 0x97, 0x00, 0xc0 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "dlr %r12, %r0"
  -
    input:
      bytes: [ 0xb9, 0x97, 0x00, 0xe0 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "dlr %r14, %r0"
  -
    input:
      bytes: [ 0x38, 0x01 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ler %f0, %f1"
  -
    input:
      bytes: [ 0x38, 0x23 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ler %f2, %f3"
  -
    input:
      bytes: [ 0x38, 0x45 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ler %f4, %f5"
  -
    input:
      bytes: [ 0x38, 0x67 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ler %f6, %f7"
  -
    input:
      bytes: [ 0x38, 0x89 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ler %f8, %f9"
  -
    input:
      bytes: [ 0x38, 0xab ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ler %f10, %f11"
  -
    input:
      bytes: [ 0x38, 0xcd ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ler %f12, %f13"
  -
    input:
      bytes: [ 0x38, 0xef ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ler %f14, %f15"
  -
    input:
      bytes: [ 0x28, 0x01 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ldr %f0, %f1"
  -
    input:
      bytes: [ 0x28, 0x23 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ldr %f2, %f3"
  -
    input:
      bytes: [ 0x28, 0x45 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ldr %f4, %f5"
  -
    input:
      bytes: [ 0x28, 0x67 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ldr %f6, %f7"
  -
    input:
      bytes: [ 0x28, 0x89 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ldr %f8, %f9"
  -
    input:
      bytes: [ 0x28, 0xab ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ldr %f10, %f11"
  -
    input:
      bytes: [ 0x28, 0xcd ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ldr %f12, %f13"
  -
    input:
      bytes: [ 0x28, 0xef ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "ldr %f14, %f15"
  -
    input:
      bytes: [ 0xb3, 0x65, 0x00, 0x01 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lxr %f0, %f1"
  -
    input:
      bytes: [ 0xb3, 0x65, 0x00, 0x45 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lxr %f4, %f5"
  -
    input:
      bytes: [ 0xb3, 0x65, 0x00, 0x89 ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lxr %f8, %f9"
  -
    input:
      bytes: [ 0xb3, 0x65, 0x00, 0xcd ]
      arch: "CS_ARCH_SYSZ"
      options: [ ]
    expected:
      insns:
        -
          asm_text: "lxr %f12, %f13"
