HP 3000 Manuals

Statement Parts [ HP Transact Reference Manual ] MPE/iX 5.0 Documentation


HP Transact Reference Manual

Statement Parts 

numeric- parameter    Integer number that specifies the particular test
                      mode.  The specific test modes are described in
                      Table 10-1.

segment1              Segment number where the test should begin.  If
                      none is given, the root segment (segment 0) is
                      assumed.

starting-             Instruction address where the trace should begin.
instruction- address  This address is the same as the internal-location 
                      shown in the compiler listing produced when a
                      Transact program is compiled with the LIST option.

segment2              Segment number where the test should stop.  If none
                      is given, segment 0 is assumed.

ending- instruction-  Instruction address where the trace should end.  As
address               with the starting-instruction-address, this is the
                      internal-location shown on a compiler listing.

To use the test facility, issue the TEST command with a numeric parameter
at anytime when you are in command mode.  The test facility stays in
effect until you reissue the TEST command without a numeric parameter.

For example, if you are in command mode and want to execute all
subsequent code in test mode 25, issue the following command:

     >TEST 25 

If you want to use test mode only between instructions 0 and 8 of the
root segment, issue the following command:

     >TEST 25,0,8 

You terminate test mode as follows:

     >TEST 

If you want to use the test facility during the execution of a program,
when you are NOT in command mode, you must do the following:

   1.  Press Ctrl Y to enter command mode.

   2.  Issue the appropriate TEST command.

   3.  Issue the RESUME command.

Execution of the program with the specified test facility continues from
the point where it stopped.  In response to the SYSTEM NAME> prompt, you
enter the test parameters (without the key word TEST) following the
program name and mode parameter.

For example, to execute in test mode 25 between instructions 0 and 8 of
the root segment of program MYPROG, enter the following response to
SYSTEM NAME>:

                            mode parameter omitted 
                             downarrow
        SYSTEM NAME> MYPROG,,25,0,8 



MPE/iX 5.0 Documentation