Function evaluates the bitwise AND 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 |
14 | 0x14 |
0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 |
Function menu | Block diagram |
---|---|
![]() |
![]() |
Name | Type | Description |
---|---|---|
a |
int32 | Operand 1 |
b |
int32 | Operand 2 |
Name | Type | Description |
---|---|---|
y |
int32 | Bitwise conjunction |
Not available