📄 help.c
字号:
" Other I commands: INIT",""};char *help_init[] = {" INIT - Initialize the current process."," This is used to initialize the downloaded program to restart execution"," or to reset the target. It resets the target when the current process"," ID is set to -1. It does not clear BSS of the downloaded program for "," restart.",""};/*** Help*/char *help_h[] = {"H <cmd>"," ","Get help for a monitor command"," ","This gets help for a particular monitor command. If <cmd>.","is not a valid monitor command the main help screen is listed."," Type <command_name> for help on a particular command.",""};/*** Kill*/char *help_k[] = {"K - Kill command."," When a K command is issued, the running program on the 29K target"," is stopped.",""};/*** List (disassemble)*/char *help_l[] = {"L [<first_address> [<last_address>]]"," ","Disassemble instructions from memory."," ","The <first_address,> if specified, is the memory address for the first","instruction. If no <first_address> is specified, disassembly will begin","from the address in the buffer."," ","The <last_address,> if specified, is the last address to be disassembled.","If no <last_address> is specified, the number of lines of data in the","previous disassemble command will be displayed."," ","<address> format:"," ","<hex>m - data memory <hex>i - instruction memory","<hex>r - rom memory <hex>u - unspecified (no addr check)"," Other L commands: logon, logoff",""};char *help_logon[] = {" LOGON and LOGOFF commands can be used to turn ON or OFF the log mode"," from the mondfe command prompt. WHen log mode is on, every command entered"," by the user is logged into the log file specified at invocation or using"," the ZL command. When log mode is off, the commands are not logged.",""};/*** Move*/char *help_m[] = {"M <source start> <source end> <destination start>"," ","Move within memory or registers. Destination will contain exact","copy of original source regardless of overlap. (The source","will be partially altered in the case of overlap.)"," ","Valid register names:","gr0-gr1, gr64-gr127 - global register names","sr0-sr14, sr128-sr135, sr160-sr162,sr164 - special register names","lr0-lr127 - local register names ","tr0-tr127 - TLB register names "," ","<address> format :"," ","<hex>m - data memory <hex>i - instruction memory","<hex>r - rom memory <hex>u - unspecified (no addr check)",""};char *help_pid[] = {" PID <pid_number> - sets the current UDI process to the <pid_number>"," specified."," A <pid_number> of -1 is used to represent the bare machine. This is"," is used to access physical addresses, and to reset the target."," Use CP command to create process. Use DP command to destroy process."," Use INIT command to initialize process.",""};/*** Quit*/char *help_q[] = {"Q"," ","Quit - exit from the monitor.",""};char *help_qoff[] = {" QON and QOFF can be used to turn ON/OFF quiet mode of Mondfe. The -q"," command line option of mondfe can be used to invoke mondfe in quiet"," mode. In quiet mode, the debug messages are suppressed. These messages"," can be turned on anytime during the debug session using the QON command"," and turned off using the QOFF command.",""};/*** Reset*/char *help_r[] = {"R - Reset the target."," This command resets (performs a software reset) of the target. This is"," equivalent to setting the UDI process ID to -1, and initializing the"," process using INIT.",""};/*** Set*/char *help_s[] = {"S[W|H|B|F|D] <address> <data>"," ","Set memory or register contents."," ","SW or S - set as words. SF - set in floating point.","SH - set as half-words. SD - set in double precision","SB - set as bytes. floating point."," ","<address> indicates location to be set. <Data> is the value","to be set. The data is entered in hexadecimal."," ","Valid register names:","gr0-gr1, gr64-gr127 - global register names","sr0-sr14, sr128-sr135, sr160-sr162,sr164 - special register names","lr0-lr127 - local register names ","tr0-tr127 - TLB register names "," ","<address> format:"," ","<hex>m - data memory <hex>i - instruction memory","<hex>r - rom memory <hex>u - unspecified (no addr check)"," S command usage: S, SW, SH, SB, SF, SD"," Other S command: SID",""};char *help_sid[] = {" SID <sid_number> - sets the UDI session ID to <sid_number>."," This command can be used to set the current debug session when there"," is multiple debug sessions going on.",""};/*** Trace*/char *help_t[] = {"T <count> - Trace or Step <count> instructions.","Trace allows stepping through code. The optional <count>","allows multiple steps to be taken. The count is in hex."," The default value of <count> is 1. This may not step into"," trap handlers based on the target/TIP capabilities.", " Other T commands: TIP",""};char *help_tip[] = {" TIP <montip_command> - sends <montip_command> string to montip for execution"," The TIP command can be used to inform Montip to change some of its"," parameters. The TIP command uses the UDI Transparent mode to pass"," the command string. The following TIP commands are now supported:"," tip lpt=0"," - requests Montip is stop using the parallel port for communicating"," to the 29K target - valid for 29K microcontroller targets."," tip lpt=1"," - requests Montip to use the parallel port for communicating"," to the 29K target - valid for 29K microcontroller targets."," The TIP command can be used before issuing a Y(ank) command to download"," a program (COFF) file using the PC parallel port. The parallel port"," download capability is only applicable for a PC host. The parallel port"," to use MUST be specified as a Montip command line option in the UDI "," configuration file - udiconfs.txt on PC, udi_soc on Unix hosts - using"," the -par Montip command line option."," As the parallel port communication is only unidirectional, the serial"," communications port - com1, or com2 - must also be specified on Montip"," command line in the UDI configuration file."," This command is valid ONLY with MiniMON29K Montip.",""};/*** X*/char *help_x[] = {"XP - Display protected special purpose registers."," ","Display protected special purpose registers by bit field name.",""};/*** Yank*/char *help_y[] = {"Y [-t|d|l|b] [-noi|-i] [-ms <mstk_x>] [-rs <rstk_x] [fname] [arglist]"," ","This is the Yank command to download program (COFF) file to the 29K target."," ","where <fname> is name of a COFF file."," ","<arglist> is the list of command line arguments for the program."," ","-t|d|l|b| gives sections for loading. t->text, d->data, l->lit, b->bss."," ","-noi -> no process created, -i -> download for execute (default)."," ","-ms <memstk_hex> -> memory stack size, -rs <regstk_hex> -> reg stack size."," ","Ex: y -db hello.pcb arg1 arg2, loads only the DATA and LIT sections."," ","Simply typing Y will use args from the previous Y issued."," "," See the TIP command for downloading using parallel port",""};char *help_zc[] = {" ZC <cmdfile_name> - execute commands from the <cmdfile_name> command file"," The ZC command can be used to execute a series of Mondfe commands"," out of a command file. The <cmdfile_name> is the name of the file"," containing the command input. This command can be executed at the"," mondfe> prompt. When all the commands from the file are executed, the"," mondfe> prompt appears again."," Nesting of command files is not allowed."," "," Other Z commands: ZE, ZL",""};char *help_ze[] = {" ZE <echofile_name> - turns ECHO mode ON and specifies the echo file"," When echo mode is on, everything that is displayed on the screen is "," also written into a file, the echo file. The <echofile_name> string "," specifies the file name of the echo file to use.",""};char *help_zl[] = {" ZL <logfile_name> - turns LOG mode ON and specifies the log file to use"," When log mode is on, every mondfe command entered by the user is logged"," in the log file. The log file thus created can be directly used an an"," input command file for subsequent debug session to repeat the same sequence"," of commands. Log mode can be turned on or off using logon or logoff command",""};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -