]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/sim/m32r/stb-d.cgs
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / m32r / stb-d.cgs
1 # m32r testcase for stb $src1,@($slo16,$src2)
2 # mach(): m32r m32rx
3
4 .include "testutils.inc"
5
6 start
7
8 .global stb_d
9 stb_d:
10 mvaddr_h_gr r4, data_loc
11 mvi_h_gr r5, 0x1234
12
13 stb r5, @(#8,r4)
14
15 mvaddr_h_gr r4, data_loc2
16 ld r4, @r4
17 test_h_gr r4, 0x34000000 ; big endian processor
18
19 pass
20
21 data_loc:
22 .word 0
23 .word 0
24 data_loc2:
25 .word 0