aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/lshw.cgs
blob: a10edff0bc17edbc89f87aada8e7b936d1966632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# cr16 testcase for lshw reg, reg
# mach(): cr16

	.include "testutils.inc"

	start

	.global lshw
lshw:
	movw $0x1234, r4
	movw $8, r5
	lshw  r5, r4
	test_h_gr r4, 0x3400

	pass