Texas Instruments TI-89 Titanium Short User Manual page 265

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

Advertisement

xor
MATH/Test menu
Boolean expression1
expression
Returns
Boolean expression2
Returns
expression2
simplified Boolean expression if either of the
original Boolean expressions cannot be resolved
to true or false.
Note: See
integer1
integer2
xor
Compares two real integers bit-by-bit using an
operation. Internally, both integers are
xor
converted to signed, 32-bit binary numbers.
When corresponding bits are compared, the result
is 1 if either bit (but not both) is 1; the result is 0
if both bits are 0 or both bits are 1. The returned
value represents the bit results, and is displayed
according to the
You can enter the integers in any number base.
For a binary or hexadecimal entry, you must use
the 0b or 0h prefix, respectively. Without a prefix,
integers are treated as decimal (base 10).
If you enter a decimal integer that is too large for
a signed, 32-bit binary form, a symmetric modulo
operation is used to bring the value into the
appropriate range.
Note: See
XorPic
CATALOG
picVar
XorPic
Displays the picture stored in
Graph screen.
Uses
xor
positions that are exclusive to either the screen or
the picture are turned on. This instruction turns
off pixels that are turned on in both images.
picVar
and
row
coordinates for the upper left corner of the
picture. Defaults are (0, 0).
Appendix A: Functions and Instructions
Boolean expression2
xor
if
Boolean expression1
true
is false, or vice versa.
if
Boolean expression1
false
are both true or both false. Returns a
.
or
integer
mode.
Base
.
or
row
column
[,
] [,
]
picVar
logic for each pixel. Only those pixel
must contain a pic data type.
, if included, specify the pixel
column
Boolean
true xor true ¸
(5>3) xor (3>5) ¸
is
and
true
and
Boolean
In Hex base mode:
0h7AC36 xor 0h3D5F ¸ 0h79169
Important: Zero, not the letter O.
In Bin base mode:
0b100101 xor 0b100 ¸0b100001
Note: A binary entry can have up to 32 digits
(not counting the 0b prefix). A hexadecimal
entry can have up to 8 digits.
on the current
false
true
259

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents