LYT000A工业卡件,HITACHI配置教程
输入调试器命令行197Bug是命令驱动的,执行各种操作以响应在键盘上输入的用户命令。当调试器提示(197)时-错误>)出现在终端屏幕上,然后调试器准备接受命令。
输入命令行时,它存储在内部缓冲区中。处决仅在输入回车后开始,因此允许用户如有必要,请使用中描述的控制字符更正输入错误本指南中的调试器一般信息一章。
LYT000A工业卡件当输入命令时,调试器执行该命令并提示再次出现。但是,如果输入的命令导致执行用户目标代码,例如GO,则控件可能返回也可能不返回调试器,具体取决于用户程序的操作。例如,如果已指定断点,则当执行用户程序时遇到断点。或者,用户程序可以通过陷阱496返回调试器函数“.RETURN”。通常,调试器命令由以下部分组成:1.命令标识符(即MD或用于内存显示的MD)命令)。请注意,允许使用大写或小写。2.如果命令设置为使用多个端口,则为端口号。在第一个论点之前至少有一个中间空格。命令指定的任何必需参数。
5.选项字段,由分号(;)分隔指定条件而不是命令的默认条件。表达式作为参数表达式可以是由算术分隔的一个或多个数值运算符:加号(+)、减号(-)、乘以(*)、除以(/)、逻辑与(&)、左移(<<)或右移(>>数值可以用十六进制、十进制、八进制或
通过在它们前面加上适当的基标识符来实现二进制。
Entering Debugger Command Lines
197Bug is command-driven and performs its various operations in response to
user commands entered at the keyboard. When the debugger prompt (197-
Bug>) appears on the terminal screen, then the debugger is ready to accept
commands.
As the command line is entered, it is stored in an internal buffer. Execution
begins only after the carriage return is entered, thus allowing the user to
correct entry errors, if necessary, using the control characters described in the
Debugger General Information chapter in this guide.
When a command is entered, the debugger executes the command and the
prompt reappears. However, if the command entered causes execution of user
target code, for example GO, then control may or may not return to the
debugger, depending on what the user program does. For example, if a
breakpoint has been specified, then control returns to the debugger when the
breakpoint is encountered during execution of the user program. Alternately,
the user program could return to the debugger by means of the TRAP #496
function “.RETURN”.
In general, a debugger command is made up of the following parts:
1. The command identifier (i.e., MD or md for the Memory Display
command). Note that either upper- or lowercase is allowed.
2. A port number if the command is set up to work with more than one port.
3. At least one intervening space before the first argument.
4. Any required arguments, as specified by command.
5. An option field, set off by a semicolon (;) to specify conditions other than
the default conditions of the command.Expression as a Parameter
An expression can be one or more numeric values separated by the arithmetic
operators: plus (+), minus (-), multiplied by (*), divided by (/), logical AND
(&), shift left (<<), or shift right (>>)
Numeric values may be expressed in either hexadecimal, decimal, octal, or
binary by immediately preceding them with the proper base identifier.