_lzcnt_u32
Classification
Other, Bit Manipulation, CPUID Test: LZCNT
Header File
Instruction
LZCNT r32, r32
Synopsis
_lzcnt_u32(unsigned int a);
Description
Count the number of leading zero bits in unsigned 32-bit integer "a", and return that count in "dst".
Operation
tmp := 31
dst := 0
DO WHILE (tmp >= 0 AND a[tmp] == 0)
tmp := tmp - 1
dst := dst + 1
OD