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 ; operands have different sign
45 ;; Originally from GBDK by Pascal Felber.
57 ;; Need to sign extend before going in.
90 ;; HL, DE (left, right irrelevant)
94 ;; 16-bit multiplication
101 ;; DE = less significant word of product
103 ;; Register used: AF,BC,DE,HL
110 ;; Optimise for the case when this side has 8 bits of data or
111 ;; less. This is often the case with support address calls.
118 ;; Taken from z88dk, which originally borrowed from the