Texas Instruments TI-86 ユーザーズマニュアル
![Texas Instruments](https://files.manualsbrain.com/attachments/b46f99d826b2b0e0e5f558c5fb6483942eb9216b/common/fit/150/50/c15ea36eb1fb1cce99a3b94668675bfc78ce832d8d727d9a7bb51a125510/brand_logo.gif)
Chapter 20: A to Z Function and Instruction Reference
325
20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 325 of 118
20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 325 of 118
not
BASE BOOL menu
not
integer
Returns the one’s complement of a real integer.
Internally, integer is represented as a 16-bit binary
number. The value of each bit is flipped (0 becomes 1,
and vice versa) for the one’s complement.
Internally, integer is represented as a 16-bit binary
number. The value of each bit is flipped (0 becomes 1,
and vice versa) for the one’s complement.
For example,
not
78:
78 = 0000000001001110
Ü
1111111110110001
Ü
(one’s complement)
To find the magnitude of a negative binary number,
determine its two’s complement (take the one’s
complement and then add 1). For example:
determine its two’s complement (take the one’s
complement and then add 1). For example:
1111111110110001
Ü
= one’s complement of 78
0000000001001110
Ü
(one’s complement)
+ 0000000000000001
Ü
0000000001001111
Ü
= 79 (two’s complement)
Therefore,
not
78 =
L79.
You can enter real numbers instead of integers, but they
are truncated automatically before the comparison.
are truncated automatically before the comparison.
In
Dec
number base mode:
not 78 b
L
79
In
Bin
number base mode:
not 1001110 b
1111111110110001Ü
Ans
4Dec b
L
79Þ
Sign bit; 1 indicates a negative number