xref: /netbsd-src/external/gpl3/gdb.old/dist/sim/testsuite/cr16/andd.cgs (revision f8cf1a9151c7af1cb0bd8b09c13c66bca599c027)
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