]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/sim/m32r/seth.cgs
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / m32r / seth.cgs
1 # m32r testcase for seth $dr,#$hi16
2 # mach(): m32r m32rx
3
4 .include "testutils.inc"
5
6 start
7
8 .global seth
9 seth:
10 seth r4, #0x1234
11
12 ; do not use test_h_gr macro since this uses seth
13
14 srli r4, #16
15 ld24 r5, #0x1234
16 beq r4, r5, ok
17
18 fail
19 ok:
20 pass