Term
Definition
2's complement
Binary numbers are generally used to represent negative numbers.
Negative numbers are expressed by
Inverting all bits of a positive number and
adding 1 to the result
.
Ex.
-1
is expressed as 2's complement.
-1
can be calculated by
0
-1
.
−“1” expresses with 2’s Complement (for 8 bits)
00000000 (= 0)
-)
(In the case of 1, minus 1)
00000001 (= 1)
11111111 (=-1)
There are methods for simple calculation without performing this kind of computa-
tion.
For instance,
Negative number = inverting all bits of a positive number and then
adding 1 to the result
.
00000001 (= 1)
11111110
11111111 (=-1)
Invert all bits
Plus 1
The
first digit
is used to judge whether the number is positive or negative.
•
When 0: Positive number (or 0)
•
When 1: Negative number
The advantage of two's complement numbers is that positive and negative num-
bers can be used as is in calculations.
Ex. When -1+10=9
11111111 (= -1)
00001001 (= 9)
+)00001010 (= 10)
Terminology
27
FHV Series Smart Camera Setup Manual (Z408-E1)
Содержание FHV Series
Страница 1: ...Vision Sensor FHV Series Smart Camera Setup Manual FHV7H Z408 E1 01...
Страница 8: ...6 FHV Series Smart Camera Setup Manual Z408 E1...
Страница 32: ...Sections in This Manual 30 FHV Series Smart Camera Setup Manual Z408 E1...
Страница 97: ...4 Handling and Installation Environ ment 4 1 Warning 4 2 4 1 FHV Series Smart Camera Setup Manual Z408 E1 4...
Страница 138: ...6 Power Supply and I O Interface 6 20 FHV Series Smart Camera Setup Manual Z408 E1...
Страница 158: ...7 Software Setup 7 20 FHV Series Smart Camera Setup Manual Z408 E1...
Страница 159: ...I Index I 1 FHV Series Smart Camera Setup Manual Z408 E1 I...
Страница 163: ......