Skip to content

Commit 4ee2cc5

Browse files
clean: simplify pc new formula for push X (#156)
Signed-off-by: F Bojarski <[email protected]> Signed-off-by: Olivier Bégassat <[email protected]> Co-authored-by: Olivier Bégassat <[email protected]>
1 parent abe3d55 commit 4ee2cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/instruction_handling/push_pop/constraints.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
we impose that
5555
\begin{enumerate}
5656
\item \If $\locIsPop = 1$ \Then $\pc\new_{i} = 1 + \pc_{i}$
57-
\item \If $\locIsPush = 1$ \Then $\pc\new_{i} = 1 + \pc_{i} + (\stackInst_{i} - \inst{PUSH1} + 1)$
57+
\item \If $\locIsPush = 1$ \Then $\pc\new_{i} = 1 + \pc_{i} + (\stackInst_{i} - \inst{PUSH0})$
5858
\item \If $\locIsPushZero = 1$ \Then $\pc\new_{i} = 1 + \pc_{i}$
5959
\end{enumerate}
6060
\saNote{}

0 commit comments

Comments
 (0)