Options

If no filename is given when invoking ssim, the default name a.out is assumed. Several options modify the simulator's behavior. Any of these options (except -d) will cause SPARC code to execute slower due to additional checking.

-c Write an execution trace to the file ``code.tra". The code trace consists of a sequence of 32-bit words giving the SPARC virtual address of each instruction executed.

-d Write a load/store trace to the file ``data.tra". The data trace consists of a series of five-byte records. The first byte identifies the type of access (e.g. load unsigned byte). The following four bytes are the SPARC address involved. The file dtrace.c contains an example program for analyzing this type of trace.

-g Interactive mode. The debug interface is invoked prior to execution. Startup commands are read from the file ``ssim.ini" if it exists. The help command summarizes the others.

-i Keep a count of instructions (mod 232) executed.

-n Do not display version and copyright banner.

-v Verbose. Disassemble each instruction prior to execution.