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>punpckhwd unpack (interleave) high-order words</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PUNPCKHWD       Unpack (interleave) High-order Words

PUNPCKHWD destination, source                        CPU: MMX

        Logic   mm(15..0)  <- mm(47..32)
                mm(31..16) <- mm/m64(47..32)
                mm(47..32) <- mm(63..48)
                mm(63..48) <- mm/m64(63..48)

    PUNPCKHWD interleaves the two high-order words of the source operand
    and the two high-order words of the destination operand and writes
    them to the destination.

    The destination operand is an MMX register. The source operand can
    either be an MMX register or a 64-bit memory operand. 

    When unpacking from a memory operand, the full 64-bit operand is
    accessed from memory. PUNPCKHWD uses only the high-order 32 bits.


    Note
    If the source operand is all zeros, this instruction converts words
    to unsigned doublewords.


    Opcode      Format
    0F 69 /r    PUNPCKHWD mm, mm/m64

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