xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/xorw.cgs (revision 7bdf38e5b7a28439665f2fdeff81e36913eef7dd)
1# cr16 testcase for xor $dr,$sr
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global xor
9xor:
10	movw $3, r4
11	movw $6, r5
12
13	xorw r4, r5
14
15	test_h_gr r5, 5
16
17	pass
18