This program was used by the package developer to debug converting the text of an assembler program to the memory representation of the assembler program and then converting the representation back to the assembler program text. The program can also be used to obtain a result of preprocessing an assembler program text. This program does not perform converting the memory representation of an assembler program to the probability profile of a node.
The program supports a single optional argument that specifies the name of a file with an assembler program text.
If the argument is not given, then the program will read an assembler program text from stdin.
After parsing an assembler program text, the
parse-asm program prints the reinterpreted program text to stdout.
The program understands the following command-line options.
Perform preprocessing only and print the preprocessed text of an assembler program.
Do not preprocess an assembler program text before parsing it. This option is ignored when the option -E is specified.
Do not print spaces after commas not within comments and string literals. This option is ignored when the option -E is specified.
The number of digits after the decimal point to print for probabilities. A non-negative number specifies fixed-point notation. A negative number specifies exponential notation, and its absolute value indicates the number of digits after the decimal point. Default value is 2. This option is ignored when the option -E is specified.
A right margin column for comments. By default, no right margin is used. This option is ignored when the option -E is specified.
Do not print comments. This option is ignored when the option -E is specified.