Moves len bits from positions frompos through frompos+len-1 of from to positions topos through topos+len-1 of to. The portion of argument to not affected by the movement of bits is unchanged. The values of frompos+len-1 and topos+len-1 must be less than bit_size(from).
Fortran 95 and later
call mvbits(from, frompos, len, to, topos)
from - The type shall be integer.frompos - The type shall be integer.len - The type shall be integer.to - The type shall be integer, of the same kind as from.topos - The type shall be integer.ibclr, ibset, ibits, iand, ior