xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/lshw_i.cgs (revision 901e7e84758515fbf39dfc064cb0b45ab146d8b0)
1# cr16 testcase for lshb_i $uimm4, reg
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global lshb_i
9lshb_i:
10	movw $0x1234,r4
11	lshw $8, r4
12	test_h_gr r4, 0x3400
13
14	pass
15