2 ; Ullrich von Bassewitz, 2011-07-10
4 ; CC65 library: 16x8 => 32 unsigned multiplication
7 .export _cc65_umul16x8r32
8 .import umul8x16r24, popax
10 .include "zeropage.inc"
13 ;---------------------------------------------------------------------------
14 ; 16x8 => 32 unsigned multiplication routine. We use 8x16 => 24 and clear
15 ; the high byte of the result
17 .proc _cc65_umul16x8r32
21 sta sreg+1 ; Clear high byte of result