GN_M24, 24bit unsigned multiplication

Register parameters

RST 20H, DEFW $7609
IN:
     BHL = multiplicand
     CDE = multiplier
OUT:
     Fc = 0
     BHL = product, least significant 24bits - no warning is given of overflow.

Registers changed after return:
     A..CDE../IXIY same
     .FB...HL/.... different 

Related calls

GN_D16, 16bit unsigned division
GN_D24, 24bit unsigned division
GN_Gdn, convert an ASCII string to a binary number
GN_M16, 16bit unsigned multiplication
GN_Pdn, write number as decimal ASCII string

web analytics