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

	.include "testutils.inc"

	start

	.global lshd
lshd:
	movd $0x12345678, (r4,r3)
	movw $0x10, r5
	lshd    r5, (r4,r3)
	test_h_grp "(r4,r3)", 0x56780000

	pass