mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
fc6a63a15e
3d8c3a4948
caused an unintended "shadowing" of files in /libsrc/runtime by files in /libsrc/common. Therefore the files in question are renamed (again) in /libsrc/common to make the files in /libsrc/runtime "visible" again.
26 lines
470 B
ArmAsm
26 lines
470 B
ArmAsm
;
|
|
; Ullrich von Bassewitz, 2010-11-03
|
|
;
|
|
; CC65 library: 16x16 => 32 signed multiplication
|
|
;
|
|
|
|
.export _imul16x16r32
|
|
.import imul16x16r32, popax
|
|
|
|
.include "zeropage.inc"
|
|
|
|
|
|
;---------------------------------------------------------------------------
|
|
; 16x16 => 32 signed multiplication routine.
|
|
|
|
|
|
.proc _imul16x16r32
|
|
|
|
sta ptr1
|
|
stx ptr1+1
|
|
jsr popax
|
|
jmp imul16x16r32
|
|
|
|
.endproc
|
|
|