Instructions
Library
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany · Tel.: +49 (0) 511 16 59 672-0 · www.akytec.de
43
6.1.1.2 Disjunction (OR)
Fig. 6.2
The output Q is True if at least one of the inputs is True. The function OR represents a
parallel connection in an electrical circuit.
Table 6.2 Truth table
I1
I2
Q
0
0
0
0
1
1
1
0
1
1
1
1
Bitwise operation example with integer inputs:
0101 (decimal 5)
OR 0011 (decimal 3)
= 0111 (decimal 7)
6.1.1.3 Negation (NOT)
Fig. 6.3
The function NOT inverts the signal. The output Q is True if the input is False and vice
versa.
Table 6.3 Truth table
I1
Q
0
1
1
0
Bitwise operation example with integer inputs:
NOT 0111 (decimal 7)
= 1000 (decimal 8)
The bitwise NOT, or complement, is a unary operation that performs logical negation on
each bit, forming the ones' complement of the given binary value.










