P0927AJ通訊模塊,FOXBORO英文使用說明
語法變量下面顯示的語法變量在以下頁面中的命令說明。此外,其他可以使用語法變量,并在特定的它們出現的命令描述。分隔符;逗號或空格。exp表達式(在下一節中詳細描述)。
地址(在下一節中詳細描述)。計數;語法與exp相同。范圍可以指定的內存地址范圍按地址del addr或按地址:count。文本最多255個字符的ASCII字符串,
P0927AJ通訊模塊在每個端點由單引號(')表達式作為參數表達式可以是一個或多個由算術運算符:加號(+),減號(-),乘以(*),除以
按(/)、邏輯與(&)、左移(<<)或右移(>>)。數值可以用十六進制、十進制、,八進制或二進制,直接在其前面加上適當的基本標識符。如果未指定基本標識符,則假設數值
十六進制。數值也可以表示為最多為的字符串文字四個字符。字符串文字必須以開頭和結尾
單引號(')。數值被解釋為字符ASCII值的串聯。這個值是右對齊,與任何其他數值一樣。表達式的求值總是從左到右,除非括號用于對表達式的一部分進行分組。沒有
運算符優先級。括號內的子表達式為首先評估。計算嵌套的插入子表達式由內而外。有效表達式示例:作為參數的地址許多命令使用addr作為參數。接受的語法
187Bug與M88000單線所接受的類似匯編程序。允許所有控制尋址模式?!暗刂贰?還提供了“偏移寄存器”模式
Syntactic Variables
The syntactic variables shown below are encountered in the
command descriptions on the following pages. In addition, other
syntactic variables may be used and are defined in the particular
command description in which they occur.Delimiter; either a comma or a space.
exp Expression (described in detail in a following section).
addr Address (described in detail in a following section).
count Count; the syntax is the same as for exp.
range A range of memory addresses which may be specified
either by addr del addr or by addr: count.
text An ASCII string of up to 255 characters, delimited at
each end by the single quote mark (')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.If no base identifier is specified, then the numeric value is assumed
to be hexadecimal.
A numeric value may also be expressed as a string literal of up to
four characters. The string literal must begin and end with the
single quote mark ('). The numeric value is interpreted as the
concatenation of the ASCII values of the characters. This value is
right-justified, as any other numeric value would be.Evaluation of an expression is always from left to right unless
parentheses are used to group part of the expression. There is no
operator precedence. Subexpressions within parentheses are
evaluated first. Nested parenthetical subexpressions are evaluated
from the inside out.
Valid expression examples:
Address as a Parameter
Many commands use addr as a parameter. The syntax accepted by
187Bug is similar to the one accepted by the M88000 one-line
assembler. All control addressing modes are allowed. An “address
+ offset register” mode is also provided.