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