Mul16s (multiply signed, 16 bit), Mul8 (multiply, 8 bit), D _mul16s – Echelon Neuron User Manual
Page 194: Multiply signed, 16 bit)

Stack Transformation: (a(2), b(2) -- a(2)*b(2))
Location: Near
Registers Affected: R0, P0, P3
Example:
This example multiplies 50 times 40.
pushd #d’50 ; (d’50, 0)
pushd #d’40 ; (d’40, 0, d’50, 0)
call _mul16 ; (d’208, 7)
_mul16s (Multiply Signed, 16 Bit)
This function multiplies two 16-bit signed integers to produce a 16-bit result.
Stack Transformation: (a(2), b(2) -- a(2)*b(2))
Location: Near
Registers Affected: R0, P0, P3
Example:
This example multiplies 50 times 40.
pushd #d’50 ; (d’50, 0)
pushd #d’40 ; (d’40, 0, d’50, 0)
call _mul16s ; (d’208, 7)
_mul8 (Multiply, 8 Bit)
This function multiplies two integers to produce an integer result.
Stack Transformation: (a, b -- a*b)
Location: Near
Registers Affected: R0
Example:
This example multiplies 50 times 40.
push #d’50 ; (d’50)
push #d’40 ; (d’40, d’50)
call _mul8 ; (d’208, 7)
184
System-Provided Functions