blcmsk

Bit Line Create Mask

BLCMSK r32, r/m32

Creates mask from lowest clear bit (x ^ (x+1)).

Details

The Bit Line Create Mask instruction creates mask from lowest clear bit (x ^ (x+1)).

Pseudocode Operation

// Creates mask from lowest clear bit (x ^ (x+1))

Example

BLCMSK eax, ebx

Encoding

Binary Layout
VEX
+0
opcode
+3
ModRM
+4
 
Format TBM
Opcode 8F ... 01
Extension TBM

Operands

  • dest
    32-bit general-purpose register (e.g. EAX)
  • src
    32-bit register or memory