capstone/tests/MC/Mips/set-at-directive.s.yaml

47 lines
932 B
YAML

test_cases:
-
input:
bytes: [ 0x08, 0x00, 0x60, 0x00 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32" ]
expected:
insns:
-
asm_text: "jr $v1"
-
input:
bytes: [ 0x08, 0x00, 0x80, 0x03 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32" ]
expected:
insns:
-
asm_text: "jr $gp"
-
input:
bytes: [ 0x08, 0x00, 0xc0, 0x03 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32" ]
expected:
insns:
-
asm_text: "jr $fp"
-
input:
bytes: [ 0x08, 0x00, 0xa0, 0x03 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32" ]
expected:
insns:
-
asm_text: "jr $sp"
-
input:
bytes: [ 0x08, 0x00, 0xe0, 0x03 ]
arch: "CS_ARCH_MIPS"
options: [ "CS_MODE_MIPS32" ]
expected:
insns:
-
asm_text: "jr $ra"