New files: Testcases for cr16 instruction set.
[external/binutils.git] / sim / testsuite / sim / cr16 / movxw.cgs
1 # cr16 testcase for movw $sr,$dr
2 # mach(): cr16
3
4         .include "testutils.inc"
5
6         start
7
8         .global movw
9 movw:
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