EasyManua.ls Logo

Texas Instruments TI-89 - Replace_Top2_With_And

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...
746
Appendix A: System Routines — Logic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
replace_top2_with_and
Declaration:
void
replace_top2_with_and
(EStackIndex
i
)
Category(ies):
Logic
Description:
Replaces the top two expressions with their internally-simplified logical
“and.”
Inputs:
i
Indexes the top tag of the internally-simplified Boolean expression
next_expression_index
(
top_estack
).
Outputs:
None
Assumptions:
The top two expressions are internally-simplified Boolean expressions.
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: and_onto_top, push_and
Example:
/* Replaces the top two expressions with a variable x. */
push_quantum (TRUE_TAG);
i = top_estack;
push_quantum (8u);
replace_top2_with_and (i);

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals