xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/lshb.cgs (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# cr16 testcase for lshb count, reg
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global lshb
9lshb:
10	movb $6, r4
11	movb $1, r5
12	lshb    r5, r4
13	test_h_gr r4, 12
14
15	pass
16