9.202. MVBITS
9.202 MVBITS — Move bits from one integer to another
- Description:
-
Moves LEN bits from positions FROMPOS through
FROMPOS+LEN-1
of FROM to positions TOPOS throughTOPOS+LEN-1
of TO. The portion of argument TO not affected by the movement of bits is unchanged. The values ofFROMPOS+LEN-1
andTOPOS+LEN-1
must be less thanBIT_SIZE(FROM)
. - Standard:
-
Fortran 95 and later, has overloads that are GNU extensions
- Class:
-
Elemental subroutine
- Syntax:
-
CALL MVBITS(FROM, FROMPOS, LEN, TO, TOPOS)
- Arguments:
-
FROM The type shall be INTEGER<