xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/macsw.cgs (revision 70f7362772ba52b749c976fb5e86e39a8b2c9afc)
1# cr16 testcase for macsw reg, (regp)
2# mach(): cr16
3
4	.include "testutils.inc"
5
6	start
7
8	.global macsw # REVISIT to update this testcase
9macsw:
10	movw  $0x123,r3
11	movw  $0x456,r4
12	macsw r3,r4, (r6,r5)
13	test_h_grp "(r6,r5)", 0x4edc2
14
15	pass
16