OP_DIV

(150 | 0x96)

Input

2 items

|

Output

1 items

OP_DIV performs a division operation between the top two items on the stack. It takes the top two items from the stack, interprets them as integers, performs a division operation, and pushes the result onto the stack. This operation is commonly used in Bitcoin scripts for various arithmetic operations.

OP_Code Walkthrough

Performs a division operation between the top two items on the stack.

Pop the two numbers from the stack

Perform a division operation on the two numbers

Push the result onto the stack