aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/xorw.cgs
blob: d82faa3f333e3f27bb36c6c05aa0c5ffde0510e8 (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:
	movw $3, r4
	movw $6, r5

	xorw r4, r5

	test_h_gr r5, 5

	pass