assembly - Is there an x86(_64) instruction which gives index of the highest (or lowest) '1' bit? -


As stated, for 8 bits (just for example, no byte sequence is considered) Integer 00100100, Does any direction 5 give?

Thanks in advance,

Technically, no. To set the most important bit and to set the least significant bit - but the smallest item will either work 16-bit word


Comments