binutils-gdb/sim/testsuite/sim/cr16/lshw_i.cgs

15 lines
173 B
Plaintext

# cr16 testcase for lshb_i $uimm4, reg
# mach(): cr16
.include "testutils.inc"
start
.global lshb_i
lshb_i:
movw $0x1234,r4
lshw $8, r4
test_h_gr r4, 0x3400
pass