Primary And Secondary Branch Expressions (Tif, Telif) - HP 64700 User Manual

Emulators terminal interface
Hide thumbs Also See for 64700:
Table of Contents

Advertisement

Primary and
Secondary Branch
Expressions (tif, telif)
U>tif 1 addr=443
U>tif 2 addr=5c2
U>telif addr=40f
U>tsq
tif 1 addr=443
tif 2 addr=5c2
tsto all
telif addr=40f
Getting Started 2-26
whose address equals 40FH will trigger the analyzer, causing trace
memory to be filled with states and stop.
When the tg command is entered with no options, the primary branch
expression of the first sequence term is displayed. This is the trigger
condition only when one term exists in the sequencer.
You can use sequence terms to trace a specific combination of events.
For example, CALLER_3 can be used to write any random number,
but suppose you want to trace only the situation where CALLER_3 is
used to write a random number to address 5C2H. You can set up the
sequencer so that it first searches for CALLER_3 by specifying the ad-
dress of CALLER_3 as the primary branch expression of the first se-
quence term.
After CALLER_3 is found, the sequencer should then search for the
write to address 5C2H. You can do this by specifying the address
5C2H as the primary branch expression of the second sequence term.
However, if the program jumps to AGAIN before the write to 5C2H,
you know that CALLER_3 is not used to write the random number
this time, and the sequencer should start over. You can specify the
global restart expression to do this.
If the write to address 5C2H occurs before the program executes the in-
struction at AGAIN, the sequencer will take a primary branch out of
the last term and trigger the analyzer. The resulting sequencer specifi-
cation is shown below.

Advertisement

Table of Contents
loading

Table of Contents