Added cc65_umul8x8r16() based on umul8x8r16.
This commit is contained in:
parent
c6ee9ac034
commit
986c2248e2
1 changed files with 23 additions and 0 deletions
23
libsrc/common/cc65_umul8x8r16.s
Normal file
23
libsrc/common/cc65_umul8x8r16.s
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue