mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
24 lines
439 B
ArmAsm
24 lines
439 B
ArmAsm
;
|
|
; 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
|