OP_10 ​
INFO
Opcode number: 90
Byte representation: 0x5a
Other names: OP_PUSHNUM_10
Short Description: Push the number 10 onto the stack.
The OP_10
opcode will push 0x0a
onto the stack. This opcode uses the minimally encoded integers format.
Examples ​
Example 1 ​
shell
# ASM script
OP_10 OP_10
# Raw script
5a5a
# Final stack
10
10
Example 2 ​
shell
# ASM script
OP_10 OP_10 OP_ADD
# Raw script
5a5a93
# Final stack
20