Opcodes · stack · enabled
OP_2OVER (0x70)
Copies the pair of items two pairs back to the top.
Verified
- Stack in → out
- a b c d → a b c d a b
- Since
- Original Bitcoin script
- Cost
- Base instruction cost 100 plus bytes pushed (2025 VM limits).
- Bitcoin status
- Same in Bitcoin (BTC)
Example
OP_1 OP_2 OP_3 OP_4 OP_2OVER Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.