]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/sim/m32r/lduh-d.cgs
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / m32r / lduh-d.cgs
1 # m32r testcase for lduh $dr,@($slo16,$sr)
2 # mach(): m32r m32rx
3
4 .include "testutils.inc"
5
6 start
7
8 .global lduh_d
9 lduh_d:
10 mvaddr_h_gr r4, data_loc
11 mvi_h_gr r5, 0
12
13 lduh r5, @(#2, r4)
14
15 test_h_gr r5, 0xf000 ; big endian processor
16
17 pass
18
19 data_loc:
20 .word 0x8000f000