TERM
TERM command/query
The TERM command allows you to a specify a pattern recognizer term in
the specified machine. Each command deals with only one label in the
given term; therefore, a complete specitication could require several
commands. Since a label can contain 32 or less bits, the range of the
pattern value will be between
232
-
1 and 0. When the value of a pattern is
expressed in binary, it represents the bit values for the label inside the
pattern recognizer term. Since the pattern parameter may contain don’t
cares and be represented in several bases, it is handled as a string of
characters rather than a number.
When a single state machine is on, all eight terms (A through H) are
available in that machine. When two state machines are on, terms A
through D are used by the first state machine defined, and terms E
through H are used by the second state machine defined.
The TERM query returns the specification of the term specified by term
identification and label name.
Command Syntax:
:MACHine{
1
IP}:STRace:TERM
<term-id
>,
c
label-name
>
,
<
pattern
>
where:
c
term-id
>
::=
(AIB(CjDIEIFIGJH}
c
label-name
>
:: = string of up to 6 alphanumeric characters
c pattern
>
:: =
“{#B{OI
1
IX}
. . . I
#Q{O~l~2~3~4~5~6~7~X}.
. . I
#H{Oll~2~3~4~5~6~7~8~9)AlBICIDIEIFIX).
. . I
{Oll~2~3~4(5~6~7~8~9}.
. .
}”
Example:
OUTPUT
XXX;“:MACHINEl:STRACE:TERM
A,‘OATA’,‘255’
w
OUTPUT
XXX;“:MACHINEl:STRACE:TERM
B,‘ABC’,‘%BXXXXllOl’
-
HP 1650B/HP 1651B
Programming Reference
STRace Subsystem
12-21