mirror of
https://github.com/cc65/cc65.git
synced 2024-11-03 10:07:02 +00:00
23 lines
428 B
ArmAsm
23 lines
428 B
ArmAsm
;
|
|
; 2014-03-27, Oliver Schmidt
|
|
; 2014-05-08, Greg King
|
|
;
|
|
; CC65 library: 8x8 => 16 signed multiplication
|
|
;
|
|
|
|
.export _cc65_imul8x8r16
|
|
.import imul8x8r16, popa, ptr1:zp
|
|
|
|
|
|
;---------------------------------------------------------------------------
|
|
; 8x8 => 16 signed multiplication routine.
|
|
|
|
|
|
.proc _cc65_imul8x8r16
|
|
|
|
sta ptr1
|
|
jsr popa
|
|
jmp imul8x8r16
|
|
|
|
.endproc
|