AND
Inputs
| Pin | Type | Description |
|---|---|---|
| A | bit | First input signal |
| B | bit | Second input signal |
Outputs
| Pin | Type | Description |
|---|---|---|
| Q | bit | Result: 1 only when A=1 and B=1 |
How It Works
AND (conjunction) outputs 1 only when both inputs are 1. It performs logical multiplication.
Truth Table
| A | B | Q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Usage
Introduced in Level 3. Used for bit masking and checking simultaneous conditions.