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0d, 0xcf, 0x4c, 0xf0, 0x67, 0xc8, 0x4c, 0xf0, 0xa9, 0xc5, 0x4c, 0xf0, 0x5d, 0xce, 0x42, 0xf0, 0x55, 0xce, 0x42, 0xf0, 0x7d, 0xc7, 0x42, 0xf0, 0xb5, 0xc1, 0x43, 0xf0, 0xdd, 0xce, 0x43, 0xf0, 0x1b, 0xc7, 0x43, 0xf0, 0xb3, 0xcf, 0x43, 0xf0, 0x65, 0xc1, 0x44, 0xf0, 0x31, 0xcc, 0x44, 0xf0, 0xdb, 0xcc, 0x45, 0xf0, 0xb9, 0xcb, 0x45, 0xf0, 0xa3, 0xc6, 0x46, 0xf0, 0x7f, 0xce, 0x46, 0xf0, 0xd1, 0xc0, 0x46, 0xf0, 0xd3, 0xc8, 0x47, 0xf0, 0xc9, 0xce, 0x47, 0xf0, 0x1d, 0xc7, 0x48, 0xf0, 0x47, 0xc5, 0x49, 0xf0, 0x2d, 0xca, 0x49, 0xf0, 0xe1, 0xc3, 0x49, 0xf0, 0x57, 0xcf, 0x49, 0xf0, 0x6b, 0xc7, 0x52, 0xea, 0x22, 0x9e, 0x57, 0xea, 0x47, 0x9e, 0x5c, 0xea, 0x3c, 0xae, 0x5a, 0xea, 0x3a, 0xbe, 0x59, 0xea, 0x7b, 0x89, 0x5f, 0xea, 0x1f, 0x9e, 0x5f, 0xea, 0x3f, 0xae, 0x5a, 0xea, 0xd7, 0x9e, 0x55, 0xea, 0x2f, 0xae, 0x52, 0xea, 0x42, 0xae, 0x50, 0xea, 0x01, 0x80 ]
arch: "CS_ARCH_ARM"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "CS_MODE_V8", "CS_MODE_THUMB" ]
expected:
insns:
-
asm_text: "dls lr, r2"
-
asm_text: "dls lr, lr"
-
asm_text: "dls lr, r0"
-
asm_text: "dls lr, r1"
-
asm_text: "dls lr, r10"
-
asm_text: "dls lr, r11"
-
asm_text: "dls lr, r12"
-
asm_text: "dls lr, r2"
-
asm_text: "dls lr, r3"
-
asm_text: "dls lr, r5"
-
asm_text: "dls lr, r6"
-
asm_text: "dls lr, r7"
-
asm_text: "dls lr, r8"
-
asm_text: "dls lr, r9"
-
asm_text: "le #-0x6a"
-
asm_text: "le #-0x494"
-
asm_text: "le #-0x4ba"
-
asm_text: "le #-0x4ec"
-
asm_text: "le #-0x4ee"
-
asm_text: "le #-0x504"
-
asm_text: "le #-0x506"
-
asm_text: "le #-0x614"
-
asm_text: "le #-0xb2"
-
asm_text: "le #-0x75a"
-
asm_text: "le #-0x76c"
-
asm_text: "le #-0x776"
-
asm_text: "le #-0x81c"
-
asm_text: "le #-0x8da"
-
asm_text: "le #-0x914"
-
asm_text: "le #-0x918"
-
asm_text: "le #-0x998"
-
asm_text: "le #-0xf6"
-
asm_text: "le #-0x9ac"
-
asm_text: "le #-0xa12"
-
asm_text: "le #-0x106"
-
asm_text: "le #-0xa64"
-
asm_text: "le #-0xaa2"
-
asm_text: "le #-0xb34"
-
asm_text: "le #-0xb42"
-
asm_text: "le #-0xc52"
-
asm_text: "le #-0xcca"
-
asm_text: "le #-0xd18"
-
asm_text: "le #-0x152"
-
asm_text: "le #-0xd82"
-
asm_text: "le #-0xd98"
-
asm_text: "le #-0xdd6"
-
asm_text: "le #-0xe3c"
-
asm_text: "le #-0xe5c"
-
asm_text: "le #-0xe6c"
-
asm_text: "le #-0xf14"
-
asm_text: "le #-0xf92"
-
asm_text: "le #-0xfa6"
-
asm_text: "le #-0xfc2"
-
asm_text: "le #-0xfdc"
-
asm_text: "le #-0xfe4"
-
asm_text: "le #-0x1de"
-
asm_text: "le #-0x220"
-
asm_text: "le #-0x24a"
-
asm_text: "le #-0x25e"
-
asm_text: "le #-0x290"
-
asm_text: "le #-0x2e4"
-
asm_text: "le #-0x2fa"
-
asm_text: "le #-0x35e"
-
asm_text: "le #-0x366"
-
asm_text: "le lr, #-0x438"
-
asm_text: "le lr, #-0x450"
-
asm_text: "le lr, #-0x480"
-
asm_text: "le lr, #-0x5b6"
-
asm_text: "le lr, #-0x5be"
-
asm_text: "le lr, #-0x64c"
-
asm_text: "le lr, #-0x660"
-
asm_text: "le lr, #-0x69e"
-
asm_text: "le lr, #-0x6b2"
-
asm_text: "le lr, #-0x73a"
-
asm_text: "le lr, #-0x756"
-
asm_text: "le lr, #-0x768"
-
asm_text: "le lr, #-0x782"
-
asm_text: "le lr, #-0x786"
-
asm_text: "le lr, #-2"
-
asm_text: "le lr, #-0x838"
-
asm_text: "le lr, #-0x844"
-
asm_text: "le lr, #-0x860"
-
asm_text: "le lr, #-0x88c"
-
asm_text: "le lr, #-0x928"
-
asm_text: "le lr, #-0x998"
-
asm_text: "le lr, #-0xa30"
-
asm_text: "le lr, #-0xa38"
-
asm_text: "le lr, #-0xa3e"
-
asm_text: "le lr, #-0xa78"
-
asm_text: "le lr, #-0xa86"
-
asm_text: "le lr, #-0xb22"
-
asm_text: "le lr, #-0xb2c"
-
asm_text: "le lr, #-0xbbc"
-
asm_text: "le lr, #-0xbca"
-
asm_text: "le lr, #-0x130"
-
asm_text: "le lr, #-0xc1a"
-
asm_text: "le lr, #-0xc9c"
-
asm_text: "le lr, #-0xcf4"
-
asm_text: "le lr, #-0xd04"
-
asm_text: "le lr, #-0xd1a"
-
asm_text: "le lr, #-0xf7a"
-
asm_text: "le lr, #-0xfca"
-
asm_text: "le lr, #-0xfd4"
-
asm_text: "le lr, #-0x1ca"
-
asm_text: "le lr, #-0x38"
-
asm_text: "le lr, #-0x246"
-
asm_text: "le lr, #-0x2a4"
-
asm_text: "le lr, #-0x2f0"
-
asm_text: "le lr, #-0x4c"
-
asm_text: "le lr, #-0x322"
-
asm_text: "le lr, #-0x35e"
-
asm_text: "le lr, #-0x386"
-
asm_text: "le lr, #-0x3c8"
-
asm_text: "wls lr, lr, #0x4a8"
-
asm_text: "wls lr, lr, #0x856"
-
asm_text: "wls lr, lr, #0x3c2"
-
asm_text: "wls lr, r0, #0x684"
-
asm_text: "wls lr, r0, #0xa92"
-
asm_text: "wls lr, r0, #0xbd2"
-
asm_text: "wls lr, r0, #0xd6c"
-
asm_text: "wls lr, r1, #0x424"
-
asm_text: "wls lr, r1, #0xfc4"
-
asm_text: "wls lr, r1, #0x21a"
-
asm_text: "wls lr, r10, #0x57c"
-
asm_text: "wls lr, r10, #0x580"
-
asm_text: "wls lr, r10, #0x936"
-
asm_text: "wls lr, r10, #0xff6"
-
asm_text: "wls lr, r11, #0x5a2"
-
asm_text: "wls lr, r11, #0xa76"
-
asm_text: "wls lr, r11, #0xe1a"
-
asm_text: "wls lr, r12, #0xce"
-
asm_text: "wls lr, r12, #0xb50"
-
asm_text: "wls lr, r12, #0xcba"
-
asm_text: "wls lr, r2, #0xcaa"
-
asm_text: "wls lr, r2, #0xef8"
-
asm_text: "wls lr, r2, #0x368"
-
asm_text: "wls lr, r3, #0xdba"
-
asm_text: "wls lr, r3, #0xe34"
-
asm_text: "wls lr, r3, #0xf66"
-
asm_text: "wls lr, r3, #0x2c8"
-
asm_text: "wls lr, r4, #0x862"
-
asm_text: "wls lr, r4, #0x9b6"
-
asm_text: "wls lr, r5, #0x772"
-
asm_text: "wls lr, r5, #0xd44"
-
asm_text: "wls lr, r6, #0xcfe"
-
asm_text: "wls lr, r6, #0x1a0"
-
asm_text: "wls lr, r6, #0x1a6"
-
asm_text: "wls lr, r7, #0xd92"
-
asm_text: "wls lr, r7, #0xe38"
-
asm_text: "wls lr, r8, #0xa8c"
-
asm_text: "wls lr, r9, #0x45a"
-
asm_text: "wls lr, r9, #0x7c0"
-
asm_text: "wls lr, r9, #0xeae"
-
asm_text: "wls lr, r9, #0xed4"
-
asm_text: "cinc lr, r2, lo"
-
asm_text: "cinc lr, r7, pl"
-
asm_text: "cinv lr, r12, hs"
-
asm_text: "cneg lr, r10, hs"
-
asm_text: "csel r9, r9, r11, vc"
-
asm_text: "cset lr, eq"
-
asm_text: "csetm lr, hs"
-
asm_text: "csinc lr, r10, r7, le"
-
asm_text: "csinv lr, r5, zr, hs"
-
asm_text: "cinv lr, r2, pl"
-
asm_text: "csel r0, r0, r1, eq"