3 ; This multiplication routine is similar to the one
4 ; from Rodnay Zaks, "Programming the Z80".
17 jr nc, muluchar_rrx_s_noadd
20 djnz muluchar_rrx_s_loop
23 ;; Originally from GBDK by Pascal Felber.
35 ;; Need to sign extend before going in.
68 ;; HL, DE (left, right irrelivent)
72 ;; 16-bit multiplication
79 ;; DE = less significant word of product
81 ;; Register used: AF,BC,DE,HL
88 ;; Optimise for the case when this side has 8 bits of data or
89 ;; less. This is often the case with support address calls.
96 ;; Taken from z88dk, which originally borrowed from the