* Optimised many of the library functions
[fw/sdcc] / device / lib / z80 / stubs.s
1         ;; Stubs to match between function names
2         .area _CODE
3
4         .globl  __mulslong
5         .globl  __mululong
6         .globl  __modslong
7         .globl  __modulong
8         .globl  __divslong
9         .globl  __divulong
10         .globl  __divschar_rrx_s
11         .globl  __divsint_rrx_s
12         .globl  __divuchar_rrx_s
13         .globl  __divuint_rrx_s
14         .globl  __mulschar_rrx_s
15         .globl  __mulsint_rrx_s
16         .globl  __muluchar_rrx_s
17         .globl  __muluint_rrx_s
18         .globl  __moduchar_rrx_s
19         .globl  __modschar_rrx_s
20         .globl  __moduint_rrx_s
21         .globl  __modsint_rrx_s
22         .globl  __rrulong_rrx_s
23         .globl  __rrslong_rrx_s
24         .globl  __rlulong_rrx_s
25         .globl  __rlslong_rrx_s
26         
27 __mulslong_rrx_s::        
28 __mulslong_rrf_s::        
29         jp      __mulslong
30
31 __mululong_rrx_s::       
32 __mululong_rrf_s::       
33         jp      __mululong
34         
35 __modslong_rrx_s::
36 __modslong_rrf_s::
37         jp      __modslong
38         
39 __modulong_rrx_s::
40 __modulong_rrf_s::
41         jp      __modulong
42         
43 __divslong_rrx_s::
44 __divslong_rrf_s::
45         jp      __divslong
46         
47 __divulong_rrx_s::
48 __divulong_rrf_s::
49         jp      __divulong
50
51 __mulsint_rrf_s::       
52         ld      a,#5
53         rst     0x08
54         jp      __mulsint_rrx_s
55
56 __divsint_rrf_s::       
57         ld      a,#5
58         rst     0x08
59         jp      __divsint_rrx_s
60
61 __muluint_rrf_s::       
62         ld      a,#5
63         rst     0x08
64         jp      __muluint_rrx_s
65
66 __divuint_rrf_s::       
67         ld      a,#5
68         rst     0x08
69         jp      __divuint_rrx_s
70
71 __mulschar_rrf_s::       
72         ld      a,#5
73         rst     0x08
74         jp      __mulschar_rrx_s
75
76 __divschar_rrf_s::       
77         ld      a,#5
78         rst     0x08
79         jp      __divschar_rrx_s
80
81 __muluchar_rrf_s::       
82         ld      a,#5
83         rst     0x08
84         jp      __muluchar_rrx_s
85
86 __divuchar_rrf_s::       
87         ld      a,#5
88         rst     0x08
89         jp      __divuchar_rrx_s
90
91 __modschar_rrf_s::       
92         ld      a,#5
93         rst     0x08
94         jp      __modschar_rrx_s
95
96 __moduchar_rrf_s::       
97         ld      a,#5
98         rst     0x08
99         jp      __moduchar_rrx_s
100
101 __modsint_rrf_s::       
102         ld      a,#5
103         rst     0x08
104         jp      __modsint_rrx_s
105
106 __moduint_rrf_s::       
107         ld      a,#5
108         rst     0x08
109         jp      __moduint_rrx_s
110
111 __rrulong_rrf_s::       
112         ld      a,#5
113         rst     0x08
114         jp      __rrulong_rrx_s
115
116 __rrslong_rrf_s::
117         ld      a,#5
118         rst     0x08
119         jp      __rrslong_rrx_s
120
121 __rlulong_rrf_s::       
122         ld      a,#5
123         rst     0x08
124         jp      __rlulong_rrx_s
125
126 __rlslong_rrf_s::       
127         ld      a,#5
128         rst     0x08
129         jp      __rlslong_rrx_s