Re: Count Leading Zeros (cntlzw)



80x86 have BSF (Bit Scan Forward) and BSR (B.S. Reverse) functions

Right, if x >= 3. The 80286 didn't have these instructions. But that probably doesn't matter today ;-)


Jens

--
Jens Gruschel
http://www.pegtop.net
.