Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1299 from ethereum/missing_opcodes
Browse files Browse the repository at this point in the history
opcodes added
  • Loading branch information
Aniket-Engg committed Sep 20, 2019
2 parents c5f17d3 + f5a2221 commit e16d5b4
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 1,531 deletions.
4 changes: 4 additions & 0 deletions remix-lib/src/code/opcodes.js
Expand Up @@ -27,6 +27,9 @@ var codes = {
0x18: ['XOR', 3, 2, 1, false],
0x19: ['NOT', 3, 1, 1, false],
0x1a: ['BYTE', 3, 2, 1, false],
0x1b: ['SHL', 3, 2, 1, false],
0x1c: ['SHR', 3, 2, 1, false],
0x1d: ['SAR', 3, 2, 1, false],

// 0x20 range - crypto
0x20: ['SHA3', 30, 2, 1, false],
Expand Down Expand Up @@ -150,6 +153,7 @@ var codes = {
0xf2: ['CALLCODE', 700, 7, 1, true, true],
0xf3: ['RETURN', 0, 2, 0, false],
0xf4: ['DELEGATECALL', 700, 6, 1, true, true],
0xf5: ['CREATE2', 32000, 4, 1, true, true],
0xfa: ['STATICCALL', 700, 6, 1, true, true],
0xfd: ['REVERT', 0, 2, 0, false],

Expand Down

0 comments on commit e16d5b4

Please sign in to comment.