fork | group |
---|---|
Frontier |
Comparison & Bitwise Logic Operations |
Index 1 is top of the stack. See PUSH.
a
: first binary value.b
: second binary value.
a & b
: the bitwise AND result.
* | Input | Output | * | * | Input | Output |
---|---|---|---|---|---|---|
1 |
0xF |
0xF |
* | 1 |
0xFF |
0 |
2 |
0xF |
* | 2 |
0 |
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Not enough values on the stack.