]>
Commit | Line | Data |
---|---|---|
cbb38b47 BE |
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 | |
11 | init: | |
12 | sett | |
13 | movt r1 | |
14 | assert r1, #1 | |
15 | clear: | |
16 | clrt | |
17 | movt r1 | |
18 | assert r1, #0 | |
19 | set: | |
20 | sett | |
21 | movt r1 | |
22 | assert r1, #1 | |
23 | ||
24 | okay: | |
25 | pass | |
26 | wrong: | |
27 | fail | |
28 |