tzmsk
Mask From Trailing Zeros
TZMSK r32, r/m32
Creates mask from trailing zeros (~x & (x-1)).
Details
The Mask From Trailing Zeros instruction creates mask from trailing zeros (~x & (x-1)).
Pseudocode Operation
// Creates mask from trailing zeros (~x & (x-1))
Example
TZMSK eax, ebx
Encoding
Binary Layout
VEX
+0
opcode
+3
ModRM
+4
Operands
-
dest
32-bit general-purpose register (e.g. EAX) -
src
32-bit register or memory