Skip to content

OP_12 ​

INFO

Opcode number: 92
Byte representation: 0x5c
Other names: OP_PUSHNUM_12
Short Description: Push the number 12 onto the stack.

The OP_12 opcode will push 0x0c onto the stack. This opcode uses the minimally encoded integers format.

Examples ​

Example 1 ​

shell
# ASM script
OP_12 OP_12

# Raw script
5c5c

# Final stack
12
12

Example 2 ​

shell
# ASM script
OP_12 OP_12 OP_ADD

# Raw script
5c5c93

# Final stack
24