xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/subd.cgs (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# cr16 testcase for subd $sr,$dr
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global subd
9subd:
10
11	movd $0x12345678, (r4,r3)
12	movd $0x11111111, (r6,r5)
13
14	subd (r6,r5), (r4,r3)
15
16	test_h_grp "(r4,r3)", 0x1234567
17
18	pass
19