blsi

Extract Lowest Set Isolated Bit

BLSI r32, r/m32

Extracts the lowest set bit (x & -x).

Details

The Extract Lowest Set Isolated Bit instruction extracts the lowest set bit (x & -x).

Pseudocode Operation

// Extracts the lowest set bit (x & -x)

Example

BLSI eax, ebx

Encoding

Binary Layout
VEX
+0
opcode
+3
ModRM
+4
 
Format VEX
Opcode C4 ... F3 /3
Extension BMI1

Operands

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