Files
ircolib/tests/MC/Mips/micromips-trap-instructions.s.yaml
T
iris 802798ce3c Squashed 'external/capstone/' content from commit e46f64fa
git-subtree-dir: external/capstone
git-subtree-split: e46f64fadb351e9ecd05264fab26f2772feb0994
2026-05-11 11:55:07 +02:00

56 lines
1.2 KiB
YAML

test_cases:
-
input:
bytes: [ 0xc9, 0x41, 0x67, 0x45 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_MICRO" ]
expected:
insns:
-
asm_text: "teqi $t1, 17767"
-
input:
bytes: [ 0x29, 0x41, 0x67, 0x45 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_MICRO" ]
expected:
insns:
-
asm_text: "tgei $t1, 17767"
-
input:
bytes: [ 0x69, 0x41, 0x67, 0x45 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_MICRO" ]
expected:
insns:
-
asm_text: "tgeiu $t1, 17767"
-
input:
bytes: [ 0x09, 0x41, 0x67, 0x45 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_MICRO" ]
expected:
insns:
-
asm_text: "tlti $t1, 17767"
-
input:
bytes: [ 0x49, 0x41, 0x67, 0x45 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_MICRO" ]
expected:
insns:
-
asm_text: "tltiu $t1, 17767"
-
input:
bytes: [ 0x89, 0x41, 0x67, 0x45 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32", "CS_MODE_MICRO" ]
expected:
insns:
-
asm_text: "tnei $t1, 17767"