1# m32r testcase for seth $dr,#$hi16
2# mach(): m32r m32rx
3
4 .include "testutils.inc"
5
6 start
7
8 .global seth
9seth:
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
19ok:
20 pass
21