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, 0x80 ]
      arch: "CS_ARCH_ARM"
      options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "CS_MODE_MCLASS", "CS_MODE_V8", "CS_MODE_THUMB" ]
    expected:
      insns:
        -
          asm_text: "isb sy"
        -
          asm_text: "sdiv r1, r2, r3"
        -
          asm_text: "udiv r1, r2, r3"
        -
          asm_text: "clrex"
        -
          asm_text: "ldrex r1, [r2, #4]"
        -
          asm_text: "ldrexb r1, [r2]"
        -
          asm_text: "ldrexh r1, [r2]"
        -
          asm_text: "strex r1, r2, [r3, #4]"
        -
          asm_text: "strexb r1, r2, [r3]"
        -
          asm_text: "strexh r1, r2, [r3]"
        -
          asm_text: "movw r1, #0xffff"
        -
          asm_text: "movt r1, #0xffff"
        -
          asm_text: "lda r1, [r2]"
        -
          asm_text: "ldab r1, [r2]"
        -
          asm_text: "ldah r1, [r2]"
        -
          asm_text: "stl r1, [r3]"
        -
          asm_text: "stlb r1, [r3]"
        -
          asm_text: "stlh r1, [r3]"
        -
          asm_text: "ldaex r1, [r2]"
        -
          asm_text: "ldaexb r1, [r2]"
        -
          asm_text: "ldaexh r1, [r2]"
        -
          asm_text: "stlex r1, r2, [r3]"
        -
          asm_text: "stlexb r1, r2, [r3]"
        -
          asm_text: "stlexh r1, r2, [r3]"
        -
          asm_text: "sg"
        -
          asm_text: "bxns r0"
        -
          asm_text: "bxns lr"
        -
          asm_text: "blxns r0"
        -
          asm_text: "tt r0, r1"
        -
          asm_text: "tt r0, sp"
        -
          asm_text: "tta r0, r1"
        -
          asm_text: "ttt r0, r1"
        -
          asm_text: "ttat r0, r1"
        -
          asm_text: "mrs r1, msp_ns"
        -
          asm_text: "msr psp_ns, r2"
        -
          asm_text: "mrs r3, primask_ns"
        -
          asm_text: "msr control_ns, r4"
        -
          asm_text: "mrs r5, sp_ns"
        -
          asm_text: "mrs r6, msplim"
        -
          asm_text: "mrs r7, psplim"
        -
          asm_text: "msr msplim, r8"
        -
          asm_text: "msr psplim, r9"
        -
          asm_text: "mrs r10, msplim_ns"
        -
          asm_text: "msr psplim_ns, r11"
        -
          asm_text: "mrs r8, 0x92"
        -
          asm_text: "msr 0x92, r8"
