aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/xorb.cgs
blob: 4ee4b2d5e012bbadb2d949228bb2ee8fd75f96ea (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:
	movb $3, r4
	movb $6, r5

	xorb r4,r5

	test_h_gr r5, 5

	pass