]> git.sur5r.net Git - cc65/blobdiff - libsrc/runtime/imul16x16r32.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / runtime / imul16x16r32.s
index d105b72a3b8b5a2722bf86eb92f9645a5671d5df..f41d13602cbad1243099414ab0ffc989bccd16bd 100644 (file)
@@ -4,9 +4,10 @@
 ; CC65 runtime: 16x16 => 32 signed multiplication
 ;
 
-        .export         imul16x16r32, _cc65_imul16x16r32
-        .import         popax, negax, umul16x16r32m, negeax
-       .importzp       ptr1, ptr3, tmp1
+        .export         imul16x16r32
+        .import         negax, umul16x16r32m, negeax
+
+        .include        "zeropage.inc"
 
 
 ;---------------------------------------------------------------------------
 ; There is probably a faster way to do this.
 ;
 
-
-_cc65_imul16x16r32:
-        sta     ptr1
-        stx     ptr1+1
-        jsr     popax
-
 imul16x16r32:
         stx     tmp1
         cpx     #0