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:
37
thirdparty/capstone/tests/MC/LoongArch/scr.s.yaml
vendored
Normal file
37
thirdparty/capstone/tests/MC/LoongArch/scr.s.yaml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
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"
|
Reference in New Issue
Block a user