docs/DSP: Fix operation of ADDR and SUBR

This commit is contained in:
Pokechu22 2021-08-13 13:07:25 -07:00
parent 8881ecef19
commit 953670b057
1 changed files with 2 additions and 2 deletions

View File

@ -1240,7 +1240,7 @@ There are two pairs of conditions that work similarly: \texttt{EQ}/\texttt{NE} a
\end{DSPOpcodeDescription} \end{DSPOpcodeDescription}
\begin{DSPOpcodeOperation} \begin{DSPOpcodeOperation}
$acD += $(0x18+S) $acD += ($(0x18+S) << 16)
FLAGS($acD) FLAGS($acD)
$pc++ $pc++
\end{DSPOpcodeOperation} \end{DSPOpcodeOperation}
@ -3802,7 +3802,7 @@ There are two pairs of conditions that work similarly: \texttt{EQ}/\texttt{NE} a
\end{DSPOpcodeDescription} \end{DSPOpcodeDescription}
\begin{DSPOpcodeOperation} \begin{DSPOpcodeOperation}
$acD -= $(0x18+S) $acD -= ($(0x18+S) << 16)
FLAGS($acD) FLAGS($acD)
$pc++ $pc++
\end{DSPOpcodeOperation} \end{DSPOpcodeOperation}