parse-asm ¶This program is for debugging converting the text of an assembler program to a memory representation of the assembler program and converting the representation back to an assembler program text.
The program parse-asm can also print 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.
Run the program using one of the following command line formats.
qsmm-example-parse-asm -E [ASM_FILE]
qsmm-example-parse-asm [other options] [ASM_FILE]
where ASM_FILE is the name of a text file;
on omitting this argument, parse-asm reads a text from stdin.
The program parse-asm supports the following command line options:
Parse an assembler program comprised of procedures. See Compound Program, for more information. This option has no effect if the option -E is present.
Only preprocess an input text and print a preprocessing result to stdout.
On omitting this option, the program parse-asm preprocesses an input assembler program text, converts a preprocessing result to a memory representation of an assembler program, converts the representation back to an assembler program text, and prints it to stdout.
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.
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.
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.
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 the negative number. This option has no effect if the option -E is present. The default value is 2.
Do not print comments. This option has no effect if the option -E is present. Print comments by default.