mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 18:31:03 +00:00
31 lines
817 B
YAML
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"
|