OP_RSHIFT performs a bitwise right shift operation on the top two items on the stack. It takes the top two items from the stack, interprets them as integers, performs a bitwise right shift operation, and pushes the result onto the stack. This operation shifts the binary representation of the first item to the right by the number of bits specified by the second item. OP_RSHIFT is commonly used in Bitcoin scripts for various bitwise manipulation operations.
OP_Code Walkthrough
Performs a bitwise right shift operation on the top two items on the stack.
Pop the two numbers from the stack
Perform a bitwise right shift operation on the two numbers
Push the result onto the stack