* src/mcs51/gen.c, src/avr/gen.c, src/pic/gen.c, src/z80/gen.c,
[fw/sdcc] / device / lib / z80 / stubs.s
index f6ce5372c41fe0f502f539f4276d3b61d6b04bec..10211be3398c82b0af7489d2cad56ed8e43a74c2 100644 (file)
         ;; Stubs to match between function names
-        .area _CODE
+        .area  _CODE
 
-        .globl  __mulslong
-        .globl  __mululong
+        .globl  __mullong
         .globl  __modslong
         .globl  __modulong
         .globl  __divslong
         .globl  __divulong
-                
-__mulslong_rr_s::        
-        jp      __mulslong
-
-__mululong_rr_s::       
-        jp      __mululong
-        
-__modslong_rr_s::
+        .globl __divschar_rrx_s
+        .globl __divsint_rrx_s
+        .globl __divuchar_rrx_s
+        .globl __divuint_rrx_s
+        .globl __mulschar_rrx_s
+        .globl __muluchar_rrx_s
+        .globl __mulint_rrx_s
+        .globl  __moduchar_rrx_s
+        .globl  __modschar_rrx_s
+        .globl  __moduint_rrx_s
+        .globl  __modsint_rrx_s
+        .globl __rrulong_rrx_s
+        .globl __rrslong_rrx_s
+        .globl __rlulong_rrx_s
+        .globl __rlslong_rrx_s
+
+__mullong_rrx_s::
+__mullong_rrf_s::
+        jp      __mullong
+
+__modslong_rrx_s::
+__modslong_rrf_s::
         jp      __modslong
-        
-__modulong_rr_s::
+
+__modulong_rrx_s::
+__modulong_rrf_s::
         jp      __modulong
-        
-__divslong_rr_s::
+
+__divslong_rrx_s::
+__divslong_rrf_s::
         jp      __divslong
-        
-__divulong_rr_s::
+
+__divulong_rrx_s::
+__divulong_rrf_s::
         jp      __divulong
+
+__mulint_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __mulint_rrx_s
+
+__divsint_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __divsint_rrx_s
+
+__divuint_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __divuint_rrx_s
+
+__mulschar_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __mulschar_rrx_s
+
+__divschar_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __divschar_rrx_s
+
+__muluchar_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __muluchar_rrx_s
+
+__divuchar_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __divuchar_rrx_s
+
+__modschar_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __modschar_rrx_s
+
+__moduchar_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __moduchar_rrx_s
+
+__modsint_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __modsint_rrx_s
+
+__moduint_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __moduint_rrx_s
+
+__rrulong_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __rrulong_rrx_s
+
+__rrslong_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __rrslong_rrx_s
+
+__rlulong_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __rlulong_rrx_s
+
+__rlslong_rrf_s::
+        ld      a,#5
+        rst     0x08
+        jp     __rlslong_rrx_s