mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-26 23:13:54 +00:00
Initial Commit
This commit is contained in:
82
thirdparty/capstone/tests/MC/Mips/micromips-branch-instructions-EB.s.yaml
vendored
Normal file
82
thirdparty/capstone/tests/MC/Mips/micromips-branch-instructions-EB.s.yaml
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x94, 0x00, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "b 1332"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x94, 0xc9, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "beq $t1, $a2, 1332"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x40, 0x46, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "bgez $a2, 1332"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x40, 0x66, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "bgezal $a2, 1332"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x40, 0x26, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "bltzal $a2, 1332"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x40, 0xc6, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "bgtz $a2, 1332"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x40, 0x86, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "blez $a2, 1332"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xb4, 0xc9, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "bne $t1, $a2, 1332"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x40, 0x06, 0x02, 0x9a ]
|
||||
arch: "CS_ARCH_MIPS"
|
||||
options: [ "CS_MODE_MIPS32", "CS_MODE_BIG_ENDIAN", "CS_MODE_MICRO" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "bltz $a2, 1332"
|
Reference in New Issue
Block a user