Next: , Previous: , Up: Auxiliary Programs   [Contents][Index]


8.8 parse-asm

This program is for debugging converting the text of an assembler program to a memory representation of this assembler program and converting the representation back to an assembler program text. You can also use the program parse-asm to obtain the result of preprocessing an assembler program text. The program parse-asm does not convert a memory representation of an assembler program to a node probability profile.

The program parse-asm supports a single optional argument specifying the name of a file with an assembler program text. If this argument not supplied, parse-asm reads an assembler program text from stdin. After parsing an assembler program text, parse-asm prints a reinterpreted program text to stdout.

The program parse-asm supports the following command-line options:

-E

Only preprocess an assembler program text and print a preprocessing result to stdout. By default, preprocess an assembler program text, convert a preprocessing result to a memory representation of an assembler program, convert the representation back to an assembler program text, and print it to stdout.

--no-preprocess

Do not preprocess an assembler program text before converting it to a memory representation of an assembler program. This option has no effect if the option -E is present. By default, preprocess an assembler program text before converting it to a memory representation of an assembler program.

--no-space-after-comma

Do not print spaces after commas outside of comments and string literals. This option has no effect if the option -E is present. By default, print spaces after commas outside of comments and string literals.

--prob-prec=INT

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 with the number of digits after the decimal point equal to the absolute value of this negative number. This option has no effect if the option -E is present. The default value is 2.

-R, --margin-right=INT

A right margin column for comments. This option has no effect if the option -E is present. By default, do not use a right margin.

--strip-comments

Do not print comments. This option has no effect if the option -E is present. Print comments by default.


Next: , Previous: , Up: Auxiliary Programs   [Contents][Index]