Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/cr16/lshd.cgs

16 lines
212 B
Text
Raw Permalink Normal View History

2023-03-06 14:48:14 +01:00
# cr16 testcase for lshd reg, regp
# mach(): cr16
.include "testutils.inc"
start
.global lshd
lshd:
movd $0x12345678, (r4,r3)
movw $0x10, r5
lshd r5, (r4,r3)
test_h_grp "(r4,r3)", 0x56780000
pass