projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
* Contribute Hitachi SH5 simulator.
[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.030372 seconds
and
4
git commands to generate.