|
CC78K4 Datasheet, PDF (95/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language | |||
|
◁ |
CHAPTER 5 OPERATORS AND EXPRESSIONS
(2) Bitwise XOR operators
Bitwise XOR Operators
^
FUNCTION
The binary ^ (caret) operator is a bitwise exclusive OR operator that returns an integral value that has a â1â bit in
each position where exactly one of the operands has a â1â bit and that has a â0â bit in each position where both
operands have a â1â bit or both have a â0â bit.
Table 5-5. Bitwise XOR Operation
Value of
1
each bit in
right operand
0
Value of Each Bit in Left Operand
1
0
0
1
1
0
SYNTAX
E1 ^ E2
Userâs Manual U15556EJ1V0UM
95
|
▷ |