summaryrefslogtreecommitdiff
path: root/sim/testsuite/cr16/andd.cgs
blob: 8e72baeb03917211d932a1b7bd04b83b80611110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# cr16 testcase for and $sr,$dr
# mach(): cr16

	.include "testutils.inc"

	start

	.global and
and:
	movd $0x33333333, (r4,r3)
	movd $0x66666666, (r6,r5)

	andd (r4,r3), (r6,r5)

	test_h_grp "(r6,r5)", 0x22222222

	pass