Opcodes and their meaning

There are different opcodes that have been introduced in the EVM. Opcodes are divided into multiple categories based on the operation they perform. The list of opcodes with their meaning and usage is presented here. These tables show the mnemonic, hex value of the mnemonic, the number of items that will be removed from the stack when this mnemonic executes (POP), the number of items that are added to the stack (PUSH) when this mnemonic executes, associated gas cost with the mnemonics and purpose of the mnemonic.

Get Mastering Blockchain - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.