Export (0) Print
Expand All

sub - ps

Subtracts sources.

Syntax

sub dst, src0, src1

 

where

  • dst is the destination register.
  • src0 is a source register.
  • src1 is a source register.

Remarks

Pixel shader versions1_11_21_31_42_02_x2_sw3_03_sw
subxxxxxxxxx

 

This instruction performs the subtraction shown in this formula.



dest = src0 - src1


 

 

Community Additions

ADD
Show:
© 2014 Microsoft