projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
bfin
/
stk5.s
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;