25.02.2015 Views

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

AMD 64-Bit Technology - ECE User Home Pages

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>AMD</strong> <strong>64</strong>-<strong>Bit</strong> <strong>Technology</strong> 26568—Rev. 3.02—August 2002<br />

PMOVMSKB<br />

Packed Move Mask Byte<br />

Moves the most-significant bit of each byte in the source operand to the destination,<br />

with zero-extension to 32 bits. The destination and source operands are a 32-bit<br />

general-purpose register and an XMM register. The result is written to the low-order<br />

word of the general-purpose register.<br />

Mnemonic Opcode Description<br />

PMOVMSKB reg32, xmm 66 0F D7 /r Moves most-significant bit of each byte in an XMM register to loworder<br />

word of a 32-bit general-purpose register.<br />

reg32<br />

xmm<br />

32<br />

0<br />

15<br />

. ... .<br />

. ..... .<br />

. ....<br />

0<br />

127 119 111 103 95 87 79 71 63 55 47 39 31 23 15 7 0<br />

. . . . . . . . .<br />

copy<br />

. . . . .<br />

copy<br />

pmovmskb-128.eps<br />

Related Instructions<br />

MOVMSKPD, MOVMSKPS<br />

rFLAGS Affected<br />

None<br />

MXCSR Flags Affected<br />

None<br />

262 PMOVMSKB

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!