XenonRecomp/thirdparty/capstone/tests/MC/Mips/test_elm_insert.s.yaml

29 lines
674 B
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x79, 0x03, 0xed, 0xd9 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "insert.b $w23[3], $sp"
-
input:
bytes: [ 0x79, 0x22, 0x2d, 0x19 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "insert.h $w20[2], $a1"
-
input:
bytes: [ 0x79, 0x32, 0x7a, 0x19 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN" ]
expected:
insns:
-
asm_text: "insert.w $w8[2], $t7"