docs/DSP: Adjust operation for CMPI and CMPIS

This more clearly indicates what it is supposed to do.
This commit is contained in:
Pokechu22 2021-08-13 12:17:09 -07:00
parent 79664d419c
commit 8881ecef19
1 changed files with 2 additions and 3 deletions

View File

@ -1837,8 +1837,7 @@ There are two pairs of conditions that work similarly: \texttt{EQ}/\texttt{NE} a
\end{DSPOpcodeDescription}
\begin{DSPOpcodeOperation}
res = ($acD.hm - I) | $acD.l
FLAGS(res)
FLAGS($acD - (I << 16))
$pc += 2
\end{DSPOpcodeOperation}
\end{DSPOpcode}
@ -1858,7 +1857,7 @@ There are two pairs of conditions that work similarly: \texttt{EQ}/\texttt{NE} a
\end{DSPOpcodeDescription}
\begin{DSPOpcodeOperation}
FLAGS($acD - #I)
FLAGS($acD - (I << 16))
$pc++
\end{DSPOpcodeOperation}
\end{DSPOpcode}