bzhi
Zero High Bits Starting with Specified Bit Position
BZHI r32, r/m32, r32
Clears high bits starting at index.
Details
The Zero High Bits Starting with Specified Bit Position instruction clears high bits starting at index.
Pseudocode Operation
// Clears high bits starting at index
Example
BZHI eax, ebx, eax
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)