XenonRecomp/thirdparty/capstone/tests/MC/AArch64/armv9.5a-hacdbs.s.yaml
2024-09-07 18:15:29 +06:00

41 lines
903 B
YAML

test_cases:
-
input:
bytes: [ 0x80, 0x23, 0x3c, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64" ]
expected:
insns:
-
asm_text: "mrs x0, HACDBSBR_EL2"
-
input:
bytes: [ 0x80, 0x23, 0x1c, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64" ]
expected:
insns:
-
asm_text: "msr HACDBSBR_EL2, x0"
-
input:
bytes: [ 0xa0, 0x23, 0x3c, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64" ]
expected:
insns:
-
asm_text: "mrs x0, HACDBSCONS_EL2"
-
input:
bytes: [ 0xa0, 0x23, 0x1c, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64" ]
expected:
insns:
-
asm_text: "msr HACDBSCONS_EL2, x0"