mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 01:02:08 +00:00
38 lines
826 B
YAML
38 lines
826 B
YAML
![]() |
test_cases:
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0xa0, 0x08, 0x00, 0x00 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "movgr2scr $scr0, $a1"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x24, 0x0c, 0x00, 0x00 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "movscr2gr $a0, $scr1"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x00, 0x66, 0x00, 0x48 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "jiscr0 0x64"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x00, 0x67, 0x00, 0x48 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "jiscr1 0x64"
|