xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/stord.cgs (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# cr16 testcase for st $src1,@$src2
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global st
9st:
10	movd $data_loc,  (r4,r3)
11	movd $0x12345678, (r6,r5)
12
13	stord (r6,r5),0(r4,r3)
14
15	loadd 0(r4,r3), (r1,r0)
16	test_h_grp "( r1,r0)", 0x12345678
17
18	pass
19
20data_loc:
21	.word 0
22