xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/andd.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	movd $0x33333333, (r4,r3)
11	movd $0x66666666, (r6,r5)
12
13	andd (r4,r3), (r6,r5)
14
15	test_h_grp "(r6,r5)", 0x22222222
16
17	pass
18