shlx

Shift Logical Left Without Affecting Flags

SHLX r32, r/m32, r32

Logical left shift, count in register. No flags update.

Details

The Shift Logical Left Without Affecting Flags instruction logical left shift, count in register. No flags update.

Pseudocode Operation

// Logical left shift, count in register. No flags update

Example

SHLX eax, ebx, eax

Encoding

Binary Layout
VEX
+0
opcode
+3
ModRM
+4
 
Format VEX
Opcode C4 ... F7
Extension BMI2

Operands

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