Fortran Wiki
mvbits

Description

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).