LYT000A工業(yè)卡件,HITACHI配置教程
輸入調(diào)試器命令行197Bug是命令驅(qū)動(dòng)的,執(zhí)行各種操作以響應(yīng)在鍵盤上輸入的用戶命令。當(dāng)調(diào)試器提示(197)時(shí)-錯(cuò)誤>)出現(xiàn)在終端屏幕上,然后調(diào)試器準(zhǔn)備接受命令。
輸入命令行時(shí),它存儲(chǔ)在內(nèi)部緩沖區(qū)中。處決僅在輸入回車后開始,因此允許用戶如有必要,請(qǐng)使用中描述的控制字符更正輸入錯(cuò)誤本指南中的調(diào)試器一般信息一章。
LYT000A工業(yè)卡件當(dāng)輸入命令時(shí),調(diào)試器執(zhí)行該命令并提示再次出現(xiàn)。但是,如果輸入的命令導(dǎo)致執(zhí)行用戶目標(biāo)代碼,例如GO,則控件可能返回也可能不返回調(diào)試器,具體取決于用戶程序的操作。例如,如果已指定斷點(diǎn),則當(dāng)執(zhí)行用戶程序時(shí)遇到斷點(diǎn)?;蛘?,用戶程序可以通過陷阱496返回調(diào)試器函數(shù)“.RETURN”。通常,調(diào)試器命令由以下部分組成:1.命令標(biāo)識(shí)符(即MD或用于內(nèi)存顯示的MD)命令)。請(qǐng)注意,允許使用大寫或小寫。2.如果命令設(shè)置為使用多個(gè)端口,則為端口號(hào)。在第一個(gè)論點(diǎn)之前至少有一個(gè)中間空格。命令指定的任何必需參數(shù)。
5.選項(xiàng)字段,由分號(hào)(;)分隔指定條件而不是命令的默認(rèn)條件。表達(dá)式作為參數(shù)表達(dá)式可以是由算術(shù)分隔的一個(gè)或多個(gè)數(shù)值運(yùn)算符:加號(hào)(+)、減號(hào)(-)、乘以(*)、除以(/)、邏輯與(&)、左移(<<)或右移(>>數(shù)值可以用十六進(jìn)制、十進(jìn)制、八進(jìn)制或
通過在它們前面加上適當(dāng)?shù)幕鶚?biāo)識(shí)符來實(shí)現(xiàn)二進(jìn)制。
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.