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

	.include "testutils.inc"

	start

	.global subd
subd:

	movd $0x12345678, (r4,r3)
	movd $0x11111111, (r6,r5)

	subd (r6,r5), (r4,r3)

	test_h_grp "(r4,r3)", 0x1234567

	pass