Added division routine. Removed C callable entry points from mul routines,

they're now in common.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4441 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-11-04 18:23:40 +00:00
parent 851926b301
commit c200e0ec94
4 changed files with 59 additions and 15 deletions

View File

@@ -4,8 +4,8 @@
; CC65 runtime: 16x16 => 32 signed multiplication
;
.export imul16x16r32, _cc65_imul16x16r32
.import popax, negax, umul16x16r32m, negeax
.export imul16x16r32
.import negax, umul16x16r32m, negeax
.importzp ptr1, ptr3, tmp1
@@ -19,12 +19,6 @@
; There is probably a faster way to do this.
;
_cc65_imul16x16r32:
sta ptr1
stx ptr1+1
jsr popax
imul16x16r32:
stx tmp1
cpx #0