3 ; This multiplication routine is similar to the one
4 ; from Rodnay Zaks, "Programming the Z80".
6 ; Now replaced by a builtin for code generation, but
7 ; still called from some asm files in this directory.
19 jr nc, muluchar_rrx_s_noadd
22 djnz muluchar_rrx_s_loop
25 ; operands have different sign
47 ;; Originally from GBDK by Pascal Felber.
59 ;; Need to sign extend before going in.
92 ;; HL, DE (left, right irrelevant)
96 ;; 16-bit multiplication
103 ;; DE = less significant word of product
105 ;; Register used: AF,BC,DE,HL
112 ;; Optimise for the case when this side has 8 bits of data or
113 ;; less. This is often the case with support address calls.
120 ;; Taken from z88dk, which originally borrowed from the