MultHE

Description #

Multiplies two 8-bit numbers and returns a 16-bit product.

Technical Details #

Special thanks to z80 Bits for the inspiration for this routine.

Inputs #

h = multiplier
e = multiplicand

Outputs #

hl = product

Destroyed #

b = 0
c is left intact
a, hl, and de are destroyed