repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pre-commit: run flake8 on more Python files
[binutils-gdb.git]
/
sim
/
testsuite
/
bfin
/
stk5.s
blob
e3a8fcab3f02b735681b58057ccf4b4bb2919e26
1
# mach: bfin
2
3
.include
"testutils.inc"
4
start
5
6
SP
+= -
12
;
7
FP
=
SP;
8
CALL _foo;
9
10
pass
11
12
13
_printf
:
14
LINK
0
;
15
[ --
SP
] = (
R7
:
7
,
P5
:
4
)
;
16
R5
= [
FP
+
8
]
;
17
DBGA
(
R5.
L
,
0x1234
)
;
18
R5
= [
FP
+
12
]
;
19
DBGA
(
R5.
L
,
0xdead
)
;
20
(
R7
:
7
,
P5
:
4
) = [
SP
++ ]
;
21
UNLINK;
22
RTS;
23
24
_foo
:
25
LINK
0
;
26
R5
=
0xdead
(
Z
)
;
27
[ --
SP
] =
R5
;
28
R5
=
0x1234
(
X
)
;
29
[ --
SP
] =
R5
;
30
CALL _printf;
31
P5
=
8
;
32
SP
=
SP
+
P5;
33
UNLINK;
34
RTS;