Help for LISTBITS
PURPOSE:
LISTBITS prints the bits in an image area as strings of ones and zeroes.
EXECUTION:
Example
listbits inp=pic user-parameters...
where pic is an image of arbitrary size and data format.
The image area is printed line-by-line. The data for each line is printed four
bytes at a time, displaying the starting byte, a hexadecimal representation,
and a bit representation, as in the following example:
listbits files.dat size=(2,1,1,25)
Line= 2
1 0081CEE0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 0 0 1 1 1 0 1 1 1 0 0 0 0 0
5 00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 0E50003D 0 0 0 0 1 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 1
13 80000000 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
17 013AF600 0 0 0 0 0 0 0 1 0 0 1 1 1 0 1 0 1 1 1 1 0 1 1 0 0 0 0 0 0 0 0 0
21 E4000087 1 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 1
25 9B 1 0 0 1 1 0 1 1
The 'SPACE keyword may be used to introduce a blank line between each printed
line (double spacing).
2 HISTORY:
Original Programmer: Gary Yagi January 10, 1990
Current Cognizant Programmer: Gary Yagi
Made portable for UNIX Jim Turner (CRI) 30 March 1994
Corrected tst pdf as per FR85764 (CRI) 08 March 1995
PARAMETERS:
INP
Input file name.
SIZE
Standard vicar size field
Ex: SIZE=(sl,ss,nl,ns)
SPACE
Keyword specifying double
spacing.
SL
INTEGER - Starting line
SS
INTEGER - Starting sample
NL
INTEGER - Number of lines
NS
INTEGER - Number of samples
See Examples:
Cognizant Programmer: