742
Appendix A: System Routines — Logic
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
push_or
Declaration:
void
push_or
(EStackIndex
i
, EStackIndex
j
)
Category(ies):
Logic
Description:
Pushes onto the estack the internally-simplified form of the logical “or” of
the Boolean expressions indexed by
i
and
j
.
Inputs:
i
,
j
— Indices of the top tags of internally-simplified Boolean expressions
or aggregates thereof.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 2.02 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: or_onto_top, replace_top2_with_or, push_and, and_onto_top,
replace_top2_with_and, push_not
Example:
push_quantum (8u);
arg2 = top_estack; /* Push variable x */
push_not (arg2);
push_or (top_estack, arg2); /* Pushes a TRUE_TAG */