English
Language : 

CC78K4 Datasheet, PDF (96/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 5 OPERATORS AND EXPRESSIONS
(3) Bitwise Inclusive OR operators
Bitwise Inclusive OR Operators
|
FUNCTION
The binary | operator is a bitwise inclusive OR operator that returns an integral value that has a “1” bit in each
position where at least one of the operands has a “1” bit and that has a “0” bit in each position where both
operands have a “0” bit.
Table 5-6. Bitwise OR Operation
Value of
1
each bit in
right operand
0
Value of Each Bit in Left Operand
1
0
1
1
1
0
SYNTAX
E1 | E2
96
User’s Manual U15556EJ1V0UM