Microsoft DirectX 8.0 (C++)

add

Loads the sum of the two colors in the source operands.

add   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

The following example shows how this instruction might be used.

add d, s1, s2    ; sum d = s1 + s2