Function evaluates the bitwise OR between the values from inputs a
and b
. Result of the operation is passed to the output y
.
Example in Python
y = a | b
Truth Table:
Operand | Value (DEC) |
Value (HEX) |
Value (BIN) | |||||||
---|---|---|---|---|---|---|---|---|---|---|
bit7 | bit6 | bit5 | bit4 | bit3 | bit2 | bit1 | bit0 | |||
a |
150 | 0x96 |
1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
b |
85 | 0x55 |
0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 |
y |
215 | 0xD7 |
1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 |
Function menu | Block diagram |
---|---|
![]() |
![]() |
Name | Type | Description |
---|---|---|
a |
int32 | Operand No. 1 |
b |
int32 | Operand No. 2 |
Name | Type | Description |
---|---|---|
y |
int32 | Bitwise disjunction |
Not available