Would you like to learn what bytecode and opcode are ? Welcome ! If you want to improve yourself in the field of security in Solidity language, you should definitely learn the opcodes. In this serie, I will try to explain the basics of opcodes in detail.
It’s time to learn what the basic opcodes are. If you learn these opcodes, you can dominate the long bytecode sequences. You would like to understand ADD, SUB, POP,DIV and MUL opcodes. Welcome ! Each opcode will be shown both visually and in code implementation.
We will perform various manipulations on the largest number on the EVM. Thanks to this study, you will better understand the working (clock) logic of EVM.
We are continuing to progress in opcode business. In this lesson you will learn many new opcodes. These are MOD, EXP, LT,GT, EQ, ISZERO, SHL,SHR and BYTE
SHA3, CALLDATA, CALLDATALOAD, CALLVALUE, CODESIZE and GASLIMIT new opcodes. Today, in the fifth lesson of our series, as you can guess, we will dive into more boring and difficult opcode topics.
We start this section with memory, one of the most important databases of EVM. I try to explain how MSTORE opcode is working.
We dealt with MSTORE8, MLOAD and Return opcodes in this lesson.
Time to learn the bytecode introduction block of the all solidity contracts. What is the mystery behind this fucking 3 opcodes ?
We focus on SLOAD Opcode and how storage works in EVM.
We focus on the relationship among SLOAD opcode and YUL’s offset and slot codes. We will learn how to use the Sload opcode and YUL’s offset and slot codes together.
Mapping storage in solidity ! To get slot index of the mapping’s value under it is given the key.