Texas Instruments TI-89 Developer's Manual page 863

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

821
Appendix A: System Routines — Math
push_right
(continued)
Example:
If m indexes the bolded tag in the list {a, 0, b, -1} as follows
END_TAG 1 1 NEGATIVE_INTEGER_TAG B_VAR_TAG 0 NONNEGATIVE_INTEGER_TAG
A_VAR_TAG LIST_TAG
and n indexes the bolded tag in the integer 3 as follows
3 1 NONNEGATIVE_INTEGER_TAG
then
push_right (m, n);
pushes the list {0, b, -1} onto the estack such that top_estack points to the bolded tag as
follows.
END_TAG 1 1 NEGATIVE_INTEGER_TAG B_VAR_TAG 0 NONNEGATIVE_INTEGER_TAG
LIST_TAG
If m indexes the bolded tag in the string "hello" as follows
0 h e l l o 0 STR_DATA_TAG
and n indexes the bolded tag in the floating-point number 2. as follows
0x40 0x00 0x20 0x00 0x00 0x00 0x00 0x00 0x00 FLOAT_TAG
then
push_right (m, n);
pushes the string "lo" onto the estack such that top_estack points to the bolded tag as follows.
0 l o 0 STR_DATA_TAG
If m indexes the bolded tag in the relational expression x < 3 as follows
3 1 NONNEGATIVE_INTEGER_TAG X_VAR_TAG LT_TAG
and n is NULL_INDEX
then
push_right (m, n);
pushes the right side of the expression which is 3 onto the estack such that top_estack points
to the bolded tag as follows.
3 1 NONNEGATIVE_INTEGER_TAG
TI-89 / TI-92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents