|
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
|
▷ |