Skip to content

Commit

Permalink
Merge pull request #15069 from ethereum/instructions-order
Browse files Browse the repository at this point in the history
Order `Instructions.h` by opcodes
  • Loading branch information
r0qs authored May 2, 2024
2 parents 5afa25e + 007205a commit b901aff
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 b901aff

Please sign in to comment.