Skip to content

Commit

Permalink
Order Instructions.h by opcodes
Browse files Browse the repository at this point in the history
TLOAD/TSTORE was out of order
  • Loading branch information
axic committed Apr 30, 2024
1 parent d74b8af commit 007205a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libevmasm/Instruction.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,9 @@ enum class Instruction: uint8_t
MSIZE, ///< get the size of active memory
GAS, ///< get the amount of available gas
JUMPDEST, ///< set a potential jump destination
MCOPY = 0x5e, ///< copy between memory areas

TLOAD = 0x5c, ///< load word from transient storage
TSTORE = 0x5d, ///< save word to transient storage
MCOPY = 0x5e, ///< copy between memory areas

PUSH0 = 0x5f, ///< place the value 0 on stack
PUSH1 = 0x60, ///< place 1 byte item on stack
Expand Down

0 comments on commit 007205a

Please sign in to comment.