Scripts and opcodes

Bitcoin scripts use a limited set of approximately 250 Script words, also known as opcodes.

This deliberate limitation allows formal verification of the scripts to reduce the risk of bugs.

A very clear documentation of frequently used opcodes can be found here.

For an exhaustive list and documentation of the current opcodes, visit the Bitcoin wiki page.