122-32000 Parallax Inc, 122-32000 Datasheet - Page 307

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
_STACK
Pre-defined, one-time settable constant for specifying the size of an application’s stack space.
CON
Explanation
_STACK
space of an application. This value is added to
amount of stack/free memory space to reserve for a Propeller application. Use
application requires a minimum amount of stack space in order to run properly. If the
resulting compiled application is too large to allow the specified stack space, an error
message will be displayed. For example:
The
least 3,000 longs of stack space left over after compilation. If the resulting compiled
application does not have that much room left over, an error message will indicate by how
much it was exceeded. This is a good way to prevent successful compiles of an application
that will fail to run properly due to lack of memory.
Note that only the top object file can set the value of
declarations will be ignored. The stack space reserved by this constant is used by the
application’s main cog to store temporary data such as call stacks, parameters, and
intermediate expression results.
_STACK = Expression
_STACK
is a pre-defined, one-time settable optional constant that specifies the required stack
Expression
stack space.
CON
_STACK
declaration in the above
is an integer expression that indicates the number of longs to reserve for
= 3000
CON
4: Spin Language Reference –
block indicates that the application needs to have at
_FREE
_STACK
if specified, to determine the total
Propeller Manual v1.0 · Page 307
. Any child object’s
_STACK
_STACK
if an

Related parts for 122-32000