From: Oliver Schmidt
Date: Thu, 27 Mar 2014 20:22:02 +0000 (+0100)
Subject: Added cc65_umul8x8r16() based on umul8x8r16.
X-Git-Tag: V2.15~90
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=986c2248e29c264857385eaecc2577909284b0d0;p=cc65
Added cc65_umul8x8r16() based on umul8x8r16.
---
diff --git a/libsrc/common/cc65_umul8x8r16.s b/libsrc/common/cc65_umul8x8r16.s
new file mode 100644
index 000000000..5cbb4f8b0
--- /dev/null
+++ b/libsrc/common/cc65_umul8x8r16.s
@@ -0,0 +1,23 @@
+;
+; Oliver Schmidt, 2014-03-27
+;
+; CC65 library: 8x8 => 16 unsigned multiplication
+;
+
+ .export _cc65_umul8x8r16
+ .import umul8x8r16, popa
+
+ .include "zeropage.inc"
+
+
+;---------------------------------------------------------------------------
+; 8x8 => 16 unsigned multiplication routine.
+
+
+.proc _cc65_umul8x8r16
+
+ sta ptr1
+ jsr popa
+ jmp umul8x8r16
+
+.endproc