🎓 What Does It Do?
Takes two numbers and adds them together, like 5 + 3 = 8.
🌍 Real World Use
💰 Calculating total token balance: balance + newTokens
⚡ Gas Cost
Gas is like the electricity cost to run this operation
3 gas
✓ Very efficient!
📚 Difficulty
How hard is this to understand?
The Ethereum Virtual Machine is like a giant computer that runs on thousands of machines around the world. It executes smart contracts using these opcodes.
Think of it like:
🏭 A factory where each opcode is a different tool or machine
📚 A library where opcodes are individual words you can use
Gas is like the electricity bill for running your smart contract. Different operations cost different amounts.
Start with Arithmetic opcodes - they're the easiest to understand
Look at opcodes marked as Beginner level first
Use the Simple and Visual tabs to understand concepts
Hover over underlined terms for definitions
💰 Token Transfer
SLOAD balance → SUB amount → SSTORE
✅ Access Control
CALLER → SLOAD owner → EQ → JUMPI
📞 External Call
PUSH gas → PUSH address → CALL