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

16 lines
170 B
Text

# cr16 testcase for movw $imm16, reg
# mach(): cr16
.include "testutils.inc"
start
.global movw
movw:
movw $0x1234, r4
movw r4, r5
test_h_gr r5, 0x1234
pass