1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00
cc65/libsrc/common/cc65_umul8x8r16.s
Greg King f82a43b98d Fixed the comments to say where the actual Left-Hand Side and Right-Hand Side are put.
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.)
2014-05-11 10:43:06 -04:00

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