0PricingLogin
Web3 & DApp Development Fundamentals · Lesson

Opcodes

Low-level operations.

The EVM Instruction Set

At its lowest level, the EVM runs a sequence of opcodes — single-byte instructions that each do one thing.

Understanding opcodes reveals what your Solidity actually does and where gas goes.

What Is an Opcode?

An opcode (operation code) is a one-byte command the EVM executes. Examples include ADD, MUL, PUSH1, SLOAD, and JUMP.

Each opcode has a name, a numeric value, and a fixed gas cost.

0x01 = ADD
0x02 = MUL
0x60 = PUSH1
0x54 = SLOAD
0x56 = JUMP

All lessons in this course

  1. The Ethereum Virtual Machine
  2. Storage, Memory, Stack
  3. Opcodes
  4. Accounts and State
← Back to Web3 & DApp Development Fundamentals