pTAL Conversion Guide

pTAL Built-In Routines
pTAL Conversion Guide527302-002
18-28
$FREEZE
$FREEZE
$FREEZE asserts a system freeze and halts the processor in which its process is
running.
$FREEZE halts the processor in which the process that calls it is running. $FREEZE
also halts other processors in the same node if they have set FREEZE-ENABLE.
$HALT
$HALT halts the processor in which its process is running.
Note. The EpTAL compiler does not support this procedure. Use $TRIGGER on page 18-48
instead. (The EpTAL compiler does allow $FREEZE as a DEFINE name.)
pTAL privileged procedure Yes
Can be executed only by privileged procedures Yes
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Figure 18-8. TAL Code Equivalent to $FREEZE Routine
CODE(SFRZ);
Example 18-19. Call to $FREEZE Routine
$FREEZE;
Note. The EpTAL compiler does not support this procedure. Use $TRIGGER on page 18-48
instead. (The EpTAL compiler does allow $FREEZE as a DEFINE name.)
$FREEZE
VST619.vsd
$HALT
VST620.vsd