2.4.3 GBYTE/GBYTES

1.
Function
Carves out a bit pattern from a continuous storage region.
2.
Call
CALL GBYTE(NP,IO,IB,NB)
CALL GBYTES(NP,NO,IB,NB,NS,IT)
3.
Explanation of Parameters
NP (I) Word at the head of the continuous storage region (such as an array).
IO (I) A variable that returns the clipped bit pattern.
NO (I) An array that returns the clipped bit pattern.
IB (I) Number of bits to skip in the word at the head.
NB (I) Number of bits to clip out.
NS (I) The number of bits in between the bit pattern to clip out.
IT (I) Length of array NO.
4.
Notes
(a)
NB must be greater than 1 and less than the number of bits of one word (in this case, 32).