Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!
Open sidebar
zkp
zkevm-circuits
Wiki
Zkevm docs
6 bytecode
6 bytecode
· Changes
Page history
chore: modify bytecode doc
authored
Dec 28, 2023
by
qingyun Ma
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
zkevm-docs/6-bytecode.markdown
zkevm-docs/6-bytecode.markdown
+18
-0
No files found.
zkevm-docs/6-bytecode.markdown
View page @
90f23db2
...
@@ -229,6 +229,24 @@ Tag? ----> Nil,OPCODE_NOPUSH, OPCODE_PUSH, BYTE
...
@@ -229,6 +229,24 @@ Tag? ----> Nil,OPCODE_NOPUSH, OPCODE_PUSH, BYTE
或者如下:
cnt_prev=0 && cnt_cur !=0 ----> OPCODE(PUSH)
cnt_prev=0 && cnt_cur =0 && addr != 0 ---> OPCODE(非PUSH)
addr = 0 ----> Padding row
cnt_prev != 0 && cnt_cur != 0 ------> PUSH的byte(非push的最后一个字节)
cnt_prev != 0 && cnt_cur == 0 -------> PUSH的最后一个字节
问题:
PUSH指令中的的 value_lo和value_hi都是PUSH的最后一个byte时所得到的
...
...