Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/sim/testsuite/cr16/movxw.cgs
2023-03-06 14:48:14 +01:00

17 lines
202 B
Text

# cr16 testcase for movw reg, regp
# mach(): cr16
.include "testutils.inc"
start
.global movw
movw:
movw $0x1234, r4
movd $0, (r6,r5)
movxw r4, (r6,r5)
test_h_grp "(r6, r5)", 0x1234
pass