43 SUBROUTINE w3ai40(KFLD,KOUT,KLEN,KNUM,KOFF)
54 IF (offset.LT.0)
RETURN
55 IF (klen.GT.64.OR.klen.LT.1)
THEN
67 maskwd = ishft(mask,jcount)
70 wrd = ishft(offset,-6) + 1
72 mask8 = not(ishft(maskwd,-bit))
73 offset = offset + length
74 jtemp = iand(kout(wrd),mask8)
76 IF (ncount.LT.length)
THEN
77 mask9 = not(ishft(maskwd,ncount))
78 ntemp = iand(kout(wrd+1),mask9)
80 itemp = ishft(ishft(kfld(i),jcount),-bit)
81 kout(wrd) = ior(itemp,jtemp)
82 IF (ncount.LT.length)
THEN
83 itemp = ishft(kfld(i),(jcount+ncount))
84 kout(wrd+1) = ior(itemp,ntemp)
subroutine w3ai40(kfld, kout, klen, knum, koff)
Packs constant size binary strings into an array.