From 8881ecef19b3e182c23f80b29dadeddd36851766 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 13 Aug 2021 12:17:09 -0700 Subject: [PATCH] docs/DSP: Adjust operation for CMPI and CMPIS This more clearly indicates what it is supposed to do. --- .../GameCube_DSP_Users_Manual/GameCube_DSP_Users_Manual.tex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/DSP/GameCube_DSP_Users_Manual/GameCube_DSP_Users_Manual.tex b/docs/DSP/GameCube_DSP_Users_Manual/GameCube_DSP_Users_Manual.tex index 74d3a30901..68ff49ff7f 100644 --- a/docs/DSP/GameCube_DSP_Users_Manual/GameCube_DSP_Users_Manual.tex +++ b/docs/DSP/GameCube_DSP_Users_Manual/GameCube_DSP_Users_Manual.tex @@ -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}