EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #559 background imageLoading...
Page #559 background image
Appendix A: System Routines — EStack Utilities
517
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
check_estack_size
Declaration:
void
check_estack_size
(EStackDisplacement
d
)
Category(ies):
EStack Utilities
Description:
This function is used to insure that at least
d
unused Quantums are
available on the estack. For example, all of the push_ . . . procedures
directly or indirectly call
check_estack_size
.
Inputs:
d
The desired minimum number of unused Quantums on the estack.
Outputs:
None
Assumptions:
None
Side Effects:
Might use
HeapRealloc
to make
d
unused Quantums available on the
estack. Throws an
ESTACK_OVERFLOW_ERROR
if there are less than
d
unused Quantums available on the estack and
HeapRealloc
is unable to
make that amount available.
Availability:
On AMS 1.05 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
None
Example:
void push_between (IndexConstQuantum low, IndexConstQuantum high)
/* Pushes quantums indexed from low + 1 through high onto the estack. */
{ Access_AMS_Global_Variables;
OS_CHECK;
check_estack_size ((EStackDisplacement)(high - low));
(void)memcpy (& ESTACK (top_estack + 1u), & ESTACK (low + 1u),
(high - low) * BYTES_PER_QUANTUM);
top_estack += high - low;
}

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals