5.2. Command Line Switches

The simulator includes command line switches that are common to all versions, and switches that are specific to the target Microprocessor.

-v

Verbose Mode. In normal mode the simulator only generates information in the case of an error. In verbose mode, useful information is generated as the simulation proceeds.

-s

When simulation terminates, generates a report that includes execution time, number of clock cycles, and so on.

-b

When simulation terminates, generates a report that lists any conditional branch instructions that have not been executed both ways. You can use this option to identify blocks of code that have not been covered by a test case.

-c

When simulation terminates, generates a report that lists any instructions that were not processed. You can use this option to identify blocks of code that are unreachable from the program entry point.

-t

Trace mode. Use this option to get a continuous listing of instructions as they are processed. The listing includes the execution time so far, the program counter, the instruction processed. If you compiled with the debug option, then the listing will also include source file line numbers.

-d D

Delays the start of tracing by D microseconds. Use this option to skip unwanted lines of trace output.

-a " -option -option ... "

Introduces further target-specific options: