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

14 lines
191 B
Text

# m32r testcase for srai $dr,#$uimm5
# mach(): m32r m32rx
.include "testutils.inc"
start
.global srai
srai:
mvi_h_gr r5, 0xf0f0f0ff
srai r5, #4
test_h_gr r5, 0xff0f0f0f
pass