This commit was manufactured by cvs2svn to create branch 'gdb_7_0-branch'.
[external/binutils.git] / sim / testsuite / sim / m32r / sth.cgs
1 # m32r testcase for sth $src1,@$src2
2 # mach(): m32r m32rx
3
4         .include "testutils.inc"
5
6         start
7
8         .global sth
9 sth:
10         mvaddr_h_gr r4, data_loc
11         mvi_h_gr    r5, 0x123456
12
13         sth r5, @r4
14
15         ld r4, @r4
16         test_h_gr r4, 0x34560000 ; big endian processor
17
18         pass
19
20 data_loc:
21         .word 0