aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/xord.cgs
blob: 3bbcac0f52beac88f3b0e84155cec8393574f955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# cr16 testcase for xor $dr,$sr
# mach(): cr16

	.include "testutils.inc"

	start

	.global xor
xor:
	movd $0x33333333, (r4,r3)
	movd $0x66666666, (r6,r5)

	xord (r4,r3), (r6,r5)

	test_h_grp "(r6,r5)", 0x55555555

	pass