-
Notifications
You must be signed in to change notification settings - Fork 1
/
huff.patch
41 lines (41 loc) · 960 Bytes
/
huff.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -ruN huff/src/opcodes/opcodes.js huff_modified/src/opcodes/opcodes.js
--- huff/src/opcodes/opcodes.js 2021-03-08 17:01:04.300952590 -0600
+++ huff_modified/src/opcodes/opcodes.js 2021-03-08 17:00:18.304340452 -0600
@@ -66,6 +66,7 @@
'59': 'MSIZE',
'5a': 'GAS',
'5b': 'JUMPDEST',
+ '5c': 'MCOPY',
'60': 'PUSH1',
'61': 'PUSH2',
'62': 'PUSH3',
@@ -135,6 +136,10 @@
a2: 'LOG2',
a3: 'LOG3',
a4: 'LOG4',
+ c0: 'ADDMODMONT',
+ c1: 'SUBMODMONT',
+ c2: 'MULMODMONT',
+ c3: 'SETMOD',
f0: 'CREATE',
f1: 'CALL',
f2: 'CALLCODE',
@@ -209,6 +214,7 @@
msize: '59',
gas: '5a',
jumpdest: '5b',
+ mcopy: '5c',
push1: '60',
push2: '61',
push3: '62',
@@ -246,6 +252,10 @@
log2: 'a2',
log3: 'a3',
log4: 'a4',
+ addmodmont: 'c0',
+ submodmont: 'c1',
+ mulmodmont: 'c2',
+ setmod: 'c3',
create: 'f0',
call: 'f1',
callcode: 'f2',