Commit | Line | Data |
---|---|---|
f4d2ff34 RS |
1 | usage() |
2 | { | |
3 | ||
4 | printf("usage: sis [-uart1 uart_device1] [-uart2 uart_device2]\n"); | |
5 | printf("[-nfp] [-freq frequency] [-c batch_file] [files]\n"); | |
6 | } | |
7 | ||
8 | gen_help() | |
9 | { | |
10 | ||
11 | printf("\n batch <file> execute a batch file of SIS commands\n"); | |
12 | printf(" +bp <addr> add a breakpoint at <addr>\n"); | |
13 | printf(" -bp <num> delete breakpoint <num>\n"); | |
14 | printf(" bp print all breakpoints\n"); | |
15 | printf(" cont [icnt] continue execution for [icnt] instructions\n"); | |
16 | printf(" dis [addr] [count] disassemble [count] instructions at address [addr]\n"); | |
17 | printf(" echo <string> print <string> to the simulator window\n"); | |
18 | printf(" float print the FPU registers\n"); | |
19 | printf(" go <addr> [icnt] start execution at <addr> for [icnt] instructions\n"); | |
20 | printf(" hist [trace_length] enable/show trace history\n"); | |
21 | printf(" load <file_name> load a file into simulator memory\n"); | |
22 | printf(" mem [addr] [count] display memory at [addr] for [count] bytes\n"); | |
23 | printf(" quit exit the simulator\n"); | |
24 | printf(" perf [reset] show/reset performance statistics\n"); | |
25 | printf(" reg [w<0-7>] show integer registers (or windows, eg 're w2')\n"); | |
26 | printf(" run [inst_count] reset and start execution for [icnt] instruction\n"); | |
27 | printf(" step single step\n"); | |
28 | printf(" tra [inst_count] trace [inst_count] instructions\n"); | |
29 | printf("\n type Ctrl-C to interrupt execution\n\n"); | |
30 | } |