[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] 
Return the position of the rightmost set bit in an 8bit value
Source position: systemh.inc line 1090
function BsfByte( 
const AValue: Byte 
):Byte; 
BsfByte scans the byte AValue, starting at position 0 (rightmost position) and returns the index of the first set bit. The position is measured from the 0th, rightmost bit.
When the input is 0, the result is 255 (unsigned equivalent of 1).

Return the position of the leftmost set bit in an 8bit value 


Return the position of the rightmost set bit in a 16bit value 


Return the position of the rightmost set bit in a 32bit value 


Return the position of the rightmost set bit in a 64bit value 