EasyManua.ls Logo

Texas Instruments TI-89 - Or_Onto_Top

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
738
Appendix A: System Routines — Logic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
or_onto_top
Declaration:
void
or_onto_top
(EStackIndex
i
)
Category(ies):
Logic
Description:
Replaces the top expression on the estack with the internally-simplified
logical “or” of it with the expression indexed by
i
.
Inputs:
i
Indexes the top tag of an internally-simplified Boolean expression.
Outputs:
None
Assumptions:
i
and
top_estack
index internally-simplified Boolean expressions.
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: push_or, replace_top2_with_or
Example:
push_quantum (8u);
foo = top_estack; /* foo -> variable x */
push_quantum (8u);
push_quantum (NOT_TAG); /* top_estack -> NOT x */
or_onto_top (foo); /* Replaces top NOT x with TRUE_TAG. */

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals