Or_Onto_Top - Texas Instruments TI-89 Developer's Manual

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

Advertisement

738

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 .
i
Inputs:
Outputs:
None
i and top_estack index internally-simplified Boolean expressions.
Assumptions:
Side Effects:
None
On AMS 2.02 and higher.
Availability:
TI-89 / TI-92 Plus
Differences:
None
See Also:
push_or, replace_top2_with_or
Example:
push_quantum (8u);
foo = top_estack;
push_quantum (8u);
push_quantum (NOT_TAG);
or_onto_top (foo);
TI-89 / TI-92 Plus Developer Guide
— Indexes the top tag of an internally-simplified Boolean expression.
/* foo -> variable x */
/* top_estack -> NOT x */
/* Replaces top NOT x with TRUE_TAG. */
Not for Distribution
Appendix A: System Routines — Logic
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