Skip to content

Commit 099f8a9

Browse files
authored
Update Instruction Details (EVM Opcodes - Learn EVM)
WIP - Instruction details isn't necessary for certain opcodes with the description being self-sufficient (e.g. BASEFEE etc.)
1 parent 77710d6 commit 099f8a9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

learn_evm/evm_opcodes.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,4 +191,15 @@ Pseudocode: `push(s[0]+s[1])`
191191

192192
The following X bytes are read from PC, placed into a word, then this word is pushed onto the stack.
193193

194-
### CALL
194+
### SHR
195+
196+
Pops 2 elements from the stack and pushes the second element onto the stack shifted right by the shift amount (first element).
197+
198+
### SHL
199+
200+
Pops 2 elements from the stack and pushes the second element onto the stack shifted left by the shift amount (first element).
201+
202+
### MSTORE
203+
204+
Saves a word to the EVM memory. Pops 2 elements from stack - the first element being the word memory address where the saved value (second element popped from stack) will be stored.
205+

0 commit comments

Comments
 (0)