وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

PSADBW

PSADBW 

Usage:  PSADBW    dest,src                        Modifies flags: None

Computes the absolute value of the difference of 8 unsigned byte integers from the 'src' (second operand) and from the 'dest' (first operand). These 8 differences are then summed to produce an unsigned word integer result that is stored in the 'dest' operand.

Packed Sum of Absolute Differences


PSADBW mm1,mm2/m64            ; 0F F6 /r        [KATMAI,MMX]

PSADBW xmm1,xmm2/m128         ; 66 0F F6 /r     [WILLAMETTE,SSE2]


PSADBW The PSADBW instruction computes the absolute value of the difference of the packed unsigned bytes in the two source operands. These differences are then summed to produce a word result in the lower 16-bit field of the destination register; the rest of the register is cleared. The destination operand is an MMX or an XMM register. The source operand can either be a register or a memory operand.


EXAMPLE:

psadbw xmm1 Label