Files
kaizen/tests/MC/ARM/implicit-it-generation.s.yaml
SimoneN64 352a52804d Squashed 'external/capstone/' content from commit 5430745e962
git-subtree-dir: external/capstone
git-subtree-split: 5430745e9623786f65c0d773a417f389ebb43395
2024-09-23 19:06:48 +02:00

31 lines
817 B
YAML

test_cases:
-
input:
bytes: [ 0x01, 0x30, 0x10, 0xf1, 0x01, 0x00, 0x80, 0xe0, 0x00, 0xf0, 0x00, 0xbc, 0x02, 0xd0, 0x00, 0xf0, 0x80, 0x80, 0x02, 0xe0, 0x80, 0xe0, 0x00, 0xf0, 0x00, 0xbc, 0x02, 0xdc, 0x00, 0xf3, 0x80, 0x80 ]
arch: "CS_ARCH_ARM"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "CS_MODE_THUMB" ]
expected:
insns:
-
asm_text: "adds r0, #1"
-
asm_text: "adds.w r0, r0, #1"
-
asm_text: "b #0x100"
-
asm_text: "b.w #0x800"
-
asm_text: "beq #4"
-
asm_text: "beq.w #0x100"
-
asm_text: "b #4"
-
asm_text: "b #0x100"
-
asm_text: "b.w #0x800"
-
asm_text: "bgt #4"
-
asm_text: "bgt.w #0x100"