The MVBITS subroutine transfers a bit field from one storage location (source) to a field in a second storage location (destination). The call to MVBITS takes the following form:
CALL MVBITS (m,i,len,n,j)
The MVBITS subroutine transfers len bits from positions i through i+len-1 of the source location m to positions j through j+len- 1 of the destination location n. Other bits of the destination location and all of the bits of the source location remain unchanged.
The values of i+len must be less than 32, and j+len must be less than or equal to 32.
For more details on bit fields, see Section D.2.