:::info
Opcode number: 82
Byte representation: 0x52
Other names: OP_PUSHNUM_2
Short Description: Push the number 2 onto the stack.
:::
The OP_2 opcode will push 0x02 onto the stack. This opcode uses the minimally encoded integers format.
# ASM script
OP_2 OP_2
# Raw script
5252
# Final stack
2
2# ASM script
OP_2 OP_2 OP_ADD
# Raw script
525293
# Final stack
4