Skip to content

Commit

Permalink
Merge pull request #47 from 0xPolygonHermez/fix-jmpnx
Browse files Browse the repository at this point in the history
fix bug on jmpnz and jmpnc
  • Loading branch information
zkronos73 committed Dec 15, 2022
2 parents bf6ffed + 08b53a1 commit 59deb58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/zkasm_parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/zkasm_parser.jison
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ op
}
| jmpNotCond '(' IDENTIFIER ',' IDENTIFIER ')'
{
$$ = { [$1]: 1, useJmpAddr: 1, jmpAddr: 'next', useElseAddr: 1, elseAddr: $3 }
$$ = { [$1]: 1, useJmpAddr: 1, jmpAddr: $5, useElseAddr: 1, elseAddr: $3 }
}
| JMP '(' RR ')'
{
Expand Down

0 comments on commit 59deb58

Please sign in to comment.