l_mulu_16_8x8.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/math/integer/l_mulu_16_8x8.asm

INCLUDE "clib_cfg.asm"

SECTION code_clib
SECTION code_math

PUBLIC l_mulu_16_8x8

   ; compute:  hl = l * e
   ; alters :  af, bc, de, hl

IF __CLIB_OPT_IMATH <= 50

   EXTERN l_small_mul_16_16x8

l_mulu_16_8x8:

   ld d,0
   jp l_small_mul_16_16x8

ENDIF

IF __CLIB_OPT_IMATH > 50

   EXTERN l_fast_mulu_16_8x8
   defc l_mulu_16_8x8 = l_fast_mulu_16_8x8

ENDIF
