Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (W-Z)
Guardian Procedure Calls Reference Manual—522629-013
16-44
XSTACKTEST Procedure
(Superseded by HEADROOM_ENSURE_
632 Insufficient stack space available
firstparm input
INT:ref:*
points to the first parameter word of the first called procedure.
stackwords input
INT:value
is the number of words required for the stack, starting from the
firstparm
location.
flags input
INT:value
is defined as:
<0:13> must be zero
<14> allow parameters that use privileged addresses
<15> skip the stack test and return 0
constants output
FIXED:ref:1
is a returned set of constant values that may be used when calling XBNDSTEST.
Considerations
•
If bit <14> of the flags parameter is set, the constants value generated by
XSTACKTEST causes XBNDSTEST to accept extended addresses that refer to
the system data segment or that use absolute extended addressing.
•
If bit <15> of the flags parameter is set, XSTACKTEST immediately returns 0 and
the
constants parameter is NOT modified.