summaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/movxw.cgs
blob: 77dea808694bfcb34241229756bba831137e92cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# cr16 testcase for movw  reg, regp
# mach(): cr16

	.include "testutils.inc"

	start

	.global movw
movw:
	movw $0x1234, r4
	movd $0, (r6,r5)

	movxw r4, (r6,r5)

	test_h_grp "(r6, r5)", 0x1234

	pass