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 OR result.
* | Input | Output | * | * | Input | Output |
---|---|---|---|---|---|---|
1 |
0xF0 |
0xFF |
* | 1 |
0xFF |
0xFF |
2 |
0xF |
* | 2 |
0xFF |
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Not enough values on the stack.