11 SUBROUTINE sbyte(IOUT,IN,ISKIP,NBYTE)
32 DATA masks / 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047,
33 & 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287,
34 & 1048575, 2097151, 4194303, 8388607, 16777215, 33554431,
35 & 67108863, 134217727, 268435455, 536870911, 1073741823,
46 index = ishft(iskip,-5)
50 ii = mod(iskip,nbitsw)
58 msk = ishft(mask,movel)
59 iout(index+1) = ior(iand(not(msk),iout(index+1)),
64 ELSE IF (movel.LT.0)
THEN
65 msk = masks(nbyte+movel)
66 iout(index+1) = ior(iand(not(msk),iout(index+1)),
68 itemp = iand(masks(nbitsw+movel),iout(index+2))
69 iout(index+2) = ior(itemp,ishft(j,nbitsw+movel))
74 iout(index+1) = ior(iand(not(mask),iout(index+1)),j)