docs/DSP: Fix operation of ADDR and SUBR
This commit is contained in:
1 parent
8881ecef19
commit
953670b057
1 file changed
+2
-2
@@ -1240,7 +1240,7 @@ There are two pairs of conditions that work similarly: \texttt{EQ}/\texttt{NE} a
|
||||
\end{DSPOpcodeDescription}
|
||||
|
||||
\begin{DSPOpcodeOperation}
|
||||
$acD += $(0x18+S)
|
||||
$acD += ($(0x18+S) << 16)
|
||||
FLAGS($acD)
|
||||
$pc++
|
||||
\end{DSPOpcodeOperation}
|
||||
@@ -3802,7 +3802,7 @@ There are two pairs of conditions that work similarly: \texttt{EQ}/\texttt{NE} a
|
||||
\end{DSPOpcodeDescription}
|
||||
|
||||
\begin{DSPOpcodeOperation}
|
||||
$acD -= $(0x18+S)
|
||||
$acD -= ($(0x18+S) << 16)
|
||||
FLAGS($acD)
|
||||
$pc++
|
||||
\end{DSPOpcodeOperation}
|
||||
|
||||
Reference in new issue
Block a user