SHLD Double Precision Shift Left Flags: O D I T S Z A P C ? - - - * * ? * * SHLD operand1,operand2,count CPU: 386+
Logic operand1 ← high (SHL (operand1:operand2),count)
SHLD concatenates the two 16- or 32-bit operands into a 32-bit or 64-bit value (operand2 is the low-order), shifts the value left by count bit positions, and returns the high-order of the result to operand1. Operand2 is not changed by SHLD.
The count operand is provided by either an immediate 8-bit value or the contents of the CL register; only the lower 5 bits are used, limiting the count value to 31.
The carry flag (CF) is set to the value of the last bit shifted out. The overflow flag (OF) is undefined.