aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/lshw_i.cgs
blob: 9e94a5ebf7f46d18457f8173e31d8e28f5a1f99e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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