The simulator command line has the form:
The simulator includes command line switches that are common to all targets, and switches that are specific to the target microprocessor.
Introduces further target-specific options as follows:
The CPU type is given in the program file and the simulator will use this as the CPU type. However, you can change the CPU type to CPU. Values are as follows:
MC68000 - Change to the Motorola MC68000
MC68008 - Change to the Motorola MC68008
MC68010 - Change to the Motorola MC68010
MC68020 - Change to the Motorola MC68020
MC68040 - Change to the Motorola MC68040
CPU32 - Change to the Motorola CPU32
MC68881 - Change to the Motorola MC68881 Floating-Point Co-Processor
Simulate the Floating-Point Co-Processor, equivalent to "-cpu MC68881".
Set the clock frequency to F MHz. The default is 25MHz.
Print a branch summary that given the percentage of conditional branches that went both ways. You can use this option to identify blocks of code that have not been covered by a test case.
Print a detailed conditional branch report with source line numbers for each conditional branch instruction that did not go both ways. You can use this option to identify blocks of code that have not been covered by a test case.
Print an execution coverage report that gives the percentage of executable words that were fetched for execution. You can use this option to identify blocks of code that are unreachable from the program entry point.
Print a detailed report giving the source line numbers of executable words that were not fetched for execution. You can use this option to identify blocks of code that are unreachable from the program entry point.
Delays the start of tracing by D microseconds. Use this option to skip unwanted lines of trace output.
Print a list of the simulator's options.
Trigger interrupt trace when interrupt I is raised (and becomes pending).
Trigger interrupt trace when interrupt I is becomes unmasked and causes the CPU to enter the handler.
Set a time limit on simulation of T microseconds.
Trace memory reads and writes using 70 columns.
Trace memory reads and writes using a wide format.
Print a performance summary for the simulation run
Print a report that gives a summary of how each memory block was used. The blocks are large.
Print a report that gives a summary of how each memory block was used. The blocks are small.
Print execution statistics such as the total number of clock cycles and the number of instructions executed.
Trace instructions using 70 columns.
Trace instructions using wide format and include the floating registers if any have a non-zero value.
Set the task trace resolution to U microseconds.
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.
Print the simulator's version number and exit.
Print traces and reports in wide or lengthy format.
Print a tasking report. This records interrupt levels and the number of the current Ada task over a range of time and prints a report when execution is complete. Recording can be triggered on interrupt, or after a delay or it can be continuous. Recording slows the simulator. Uses less than 80 columns.
Print a tasking report. This records interrupt levels and the number of the current Ada task over a range of time and prints a report when execution is complete. Recording can be triggered on interrupt, or after a delay or it can be continuous. Recording slows the simulator. Uses wide format.