pTAL Conversion Guide

pTAL Built-In Routines
pTAL Conversion Guide527302-002
18-48
$TRIGGER
$TRIGGER
$TRIGGER replaces $FREEZE and $HALT, which are available only for code that is to
be run as a native process.
Figure 18-20. Memory Allocation From $STACK_ALLOCATE (Native Process)
@p1 := $STACK_ALLOCATE (30);
@p2 := $STACK_ALLOCATE (24);
@p3 := $STACK_ALLOCATE (34);
Note. The pTAL compiler does not support this routine.
Requested 34 bytes,
allocated 40 bytes
Requested 24 bytes,
allocated 24 bytes
Requested 30 bytes,
allocated 32 bytes
Procedure
Local
Data
Process
Global
Data
Direction of Stack Growth
VST019.vsd
3000
3096p1
3064p2
3040p3
$TRIGGER ( op )
VST060.vsd