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