Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>psrlw packed shift right logical, word</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PSRLW           Packed Shift Right Logical, Word

PSRLW destination, count                             CPU: MMX

        Logic   mm(15..0)  <- mm(15..0)  SHR count
                mm(31..16) <- mm(31..16) SHR count
                mm(47..32) <- mm(47..32) SHR count
                mm(63..48) <- mm(63..48) SHR count

    PSRLW performs a shift-logical-right operation on each of the four
    words in the destination operand. The count operand determines how
    many bits to right-shift. The new high-order bits are cleared (set
    to zero).
    If the value specified by the count operand is greater than 15 (0Fh)
    the destination is set to all zeros. 

    The destination operand is an MMX register. The count operand (source
    operand) can be either an MMX register, a 64-bit memory operand, or
    an immediate 8-bit operand.


    Opcode      Format
    0F D1 /r    PSRLW mm, mm/m64
    0F 71 /2 ib PSRLW mm, imm8

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson