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,7 @@
; CC65 runtime: 16x16 => 32 unsigned multiplication
;
.export _cc65_umul16x16r32, umul16x16r32, umul16x16r32m
.import popax
.export umul16x16r32, umul16x16r32m
.importzp ptr1, ptr3, sreg
@@ -17,11 +16,6 @@
; ptr1 ax ax:sreg ptr1:sreg
;
_cc65_umul16x16r32:
sta ptr1
stx ptr1+1
jsr popax
umul16x16r32:
sta ptr3
stx ptr3+1