Platform | x64, Win32, .NET |
Purpose |
To extract a sequence of bits. |
Class |
Elemental function. |
Syntax |
INTEGER FUCNTION IBITS(I, POS, LEN) |
Description |
The position POS is non-negative with zero as the least significant bit. The length of the sequence LEN is non-negative. The result has the same kind type as I. |
Return value |
The result has the value of the sequence of LEN bits in I beginning at bit POS, right-adjusted with all other bits zero. |