Skip to content

Commit

Permalink
fix basic_main.pil
Browse files Browse the repository at this point in the history
  • Loading branch information
zkronos73 committed Sep 16, 2022
1 parent 459ba3b commit e2067ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pil/basic_main.pil
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ namespace Main(%N);
*/

pol addrRel = ind*E0 + indRR*RR + offset;
pol addr = useCTX*CTX*2**18 + isStack*2**17 + isCode*2**16 + isMem*(2**17+2**16) + addrRel;
pol addr = useCTX*CTX*2**18 + isStack*2**17 + isStack*SP + isCode*2**16 + isMem*(2**17+2**16) + addrRel;

pol maxMemCalculated = isMaxMem*(addrRel - MAXMEM) + MAXMEM;

Expand Down

0 comments on commit e2067ab

Please sign in to comment.