Microsoft DirectX 8.0 (Visual Basic) |
Subtracts sources.
sub tDest, tSrc0, tSrc1
This instruction performs the subtraction based on the following formula.
tDest = tSrc0 - tSrc1
The following example shows how this instruction might be used.
sub r2, v2, r2 ; difference