PANDN
Usage: PANDN dest,src Modifies flags: None
Performs a bitwise logical NOT of the 'dest' then performs a bitwise logical AND of the 'src' and the inverted 'dest' operand. The result is stored in the 'dest' operand.
MMX Bitwise AND and AND-NOT
PAND mm1,mm2/m64 ; 0F DB /r [PENT,MMX]
PANDN mm1,mm2/m64 ; 0F DF /r [PENT,MMX]
PAND xmm1,xmm2/m128 ; 66 0F DB /r [WILLAMETTE,SSE2]
PANDN xmm1,xmm2/m128 ; 66 0F DF /r [WILLAMETTE,SSE2]
PAND performs a bitwise AND operation between its two operands (i.e. each bit of the result is 1 if and only if the corresponding bits of the two inputs were both 1), and stores the result in the destination (first) operand.
The 'src' operand can be an MMX technology register or a 64-bit memory location or it can be an XMM register or a 128-bit memory location. The 'dest' operand can be an MMX technology register or an XMM register.
PANDN performs the same operation, but performs a one's complement operation on the destination (first) operand first.
EXAMPLE:
pandn xmm1 Label