pmovmskb

Move Byte Mask

PMOVMSKB r32, xmm

Creates a mask from the MSB of each byte in XMM.

Details

The Move Byte Mask instruction creates a mask from the MSB of each byte in XMM.

Pseudocode Operation

// Creates a mask from the MSB of each byte in XMM

Example

PMOVMSKB eax, xmm0

Encoding

Binary Layout
66
+0
0F
+1
D7
+2
 
Format SSE2
Opcode 66 0F D7
Extension SSE2

Operands

  • dest
    32-bit general-purpose register (e.g. EAX)
  • src
    128-bit SSE/AVX register (XMM)