SHL

By Vesper Vei
1 minute read

Table of Contents

  1. SHL (shl)
    1. Basic function
    2. Instruction execution process
    3. Instruction format
    4. Behavioral characteristics
    5. Common uses

SHL (shl)

Basic function

SHL (Shift Logical Left) shifts the destination operand left by n bits, filling the right side with 0s.
In mathematical terms, it is equivalent to: dest = dest * 2^n

Instruction execution process

Instruction format

shl r/m32, imm8
shl r/m64, imm8
shl r/m32, cl
shl r/m64, cl

Behavioral characteristics

Common uses



Relationship Graph

Loading graph...