1# sh testcase for movt $rn -*- Asm -*-
2# mach: all
3# as: -isa=shcompact
4# ld: -m shelf32
5
6	.include "compact/testutils.inc"
7
8	start
9
10	.global movt
11init:
12	sett
13	movt r1
14	assert r1, #1
15clear:
16	clrt
17	movt r1
18	assert r1, #0
19set:
20	sett
21	movt r1
22	assert r1, #1
23
24okay:
25	pass
26wrong:
27	fail
28
29