This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / jsr.cgs
1 # sh testcase for jsr @$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 jsr
11 jsr:
12 # Load 0x1010 into r0.
13 mov #1, r0
14 shll8 r0
15 shll2 r0
16 shll2 r0
17 add #16, r0
18 jsr @r0
19 slot:
20 nop
21 bad:
22 fail
23 okay:
24 pass
25 alsobad:
26 fail
27 fail
28 fail
29
This page took 0.030673 seconds and 5 git commands to generate.