repo.or.cz
/
cake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Icon von ASCIITable
[cake.git]
/
test
/
library
/
dummylib.c
blob
4e3d82e79cc90f60098da2aaead064eaaa2e0801
1
/*
2
Copyright © 1995-2008, The AROS Development Team. All rights reserved.
3
$Id$
4
5
Desc:
6
Lang:
7
*/
8
#include <exec/types.h>
9
#include <aros/libcall.h>
10
11
AROS_LH2I
(
ULONG
,
add
,
12
AROS_LHA
(
ULONG
,
a
,
D0
),
13
AROS_LHA
(
ULONG
,
b
,
D1
),
14
struct
dummybase
*,
dummybase
,
5
,
Dummy
15
)
16
{
17
AROS_LIBFUNC_INIT
18
return
a
+
b
;
19
AROS_LIBFUNC_EXIT
20
}
21
22
AROS_LH2I
(
ULONG
,
asl
,
23
AROS_LHA
(
ULONG
,
a
,
D0
),
24
AROS_LHA
(
ULONG
,
b
,
D1
),
25
struct
dummybase
*,
dummybase
,
6
,
Dummy
26
)
27
{
28
AROS_LIBFUNC_INIT
29
return
a
<<
b
;
30
AROS_LIBFUNC_EXIT
31
}