Syntax:
result& = exprA {nor | ^|} exprB
Description:
Expression exprA
and expression exprB
are each interpreted as 32-bit integer quantities. The nor
operator sets each bit in result
when the corresponding bits in both exprA
and exprB
are cleared or when the bit in exprA
is set and the corresponding bit in exprB
is cleared. This can be thought of as a not or
expression.The result is another 32-bit quantity; each bit in the result is determined as follows:
Bit Value in expr | Bit Value in expr | Bit Value in expr |
0 | 0 | 0 |
1 | 0 | 1 |
0 | 1 | 0 |
1 | 1 | 1 |
See Also:
and; nand; not; xor; or; Appendix D - Numeric Expressions