Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / cr16 / storw.cgs
blob92876361ffebb952e9f17f8f8e4852576a2cb515
1 # cr16 testcase for st $src1,@$src2
2 # mach(): cr16
4         .include "testutils.inc"
6         start
8         .global st
9 st:
10         movd $data_loc,  (r4,r3)
11         movw $0x1234,r5
13         storw r5,0(r4,r3)
15         loadw 0(r4,r3),r1
16         test_h_gr r1, 0x1234
18         pass
20 data_loc:
21         .word 0