mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
f82a43b98d
A description of positions [left, right] is appropriate more for C code than for Assembly code. (A description of timing [first argument, second argument] is more appropriate for the way that Assembly code is written.)
22 lines
408 B
ArmAsm
22 lines
408 B
ArmAsm
;
|
|
; Oliver Schmidt, 2014-03-27
|
|
;
|
|
; CC65 library: 8x8 => 16 unsigned multiplication
|
|
;
|
|
|
|
.export _cc65_umul8x8r16
|
|
.import umul8x8r16, popa, ptr1:zp
|
|
|
|
|
|
;---------------------------------------------------------------------------
|
|
; 8x8 => 16 unsigned multiplication routine.
|
|
|
|
|
|
.proc _cc65_umul8x8r16
|
|
|
|
sta ptr1
|
|
jsr popa
|
|
jmp umul8x8r16
|
|
|
|
.endproc
|