Microsoft DirectX 8.0 (C++)

mul

Loads the destination register with the component-wise product of the two colors in the source operand registers

mul   tDest, tSrc0, tSrc1

Registers

tDest
Destination register, holding the result of the operation.
tSrc0
Source register, specifying the input argument.
tSrc1
Source register, specifying the input argument.

Remarks

This instruction performs a modulate operation.

The following example shows how this instruction might be used.

mul  d, s1, s2    ; modulate d = s1*s2