forked from dolphin-emu/dolphin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/DSP: Trivial adjustment to BLOOP{,I} sub-operation order
Noticed while tracing in a BLOOP using DSPSpy with $st{0..3} unmasked. BLOOPI assumed to follow the pattern.
- Loading branch information
1 parent
12142c4
commit 099e6c9
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ | |
% Document front page material | ||
\title{\textbf{\Huge GameCube DSP User's Manual}} | ||
\author{Reverse-engineered and documented by Duddie \\ \href{mailto:[email protected]}{[email protected]}} | ||
\date{\today\\v0.1.4} | ||
\date{\today\\v0.1.5} | ||
|
||
% Title formatting commands | ||
\newcommand{\OpcodeTitle}[1]{\subsection{#1}\label{instruction:#1}} | ||
|
@@ -262,6 +262,7 @@ | |
0.1.2 & 2022.05.21 & Pokechu22 & Fixed ``ILLR'' typo in Instruction Memory section \\ \hline | ||
0.1.3 & 2022.05.27 & Pokechu22 & Renamed \texttt{CMPAR} instruction to \texttt{CMPAXH} \\ \hline | ||
0.1.4 & 2022.06.02 & Pokechu22 & Fixed typos; added sections on 16-bit and 40-bit modes and on main and extended opcode writing to the same register. \\ \hline | ||
0.1.5 & 2022.09.29 & vpelletier & Fixed \texttt{BLOOP} and \texttt{BLOOPI} suboperation order \\ \hline | ||
\end{tabular} | ||
\end{table} | ||
|
||
|
@@ -1664,10 +1665,11 @@ \section{Alphabetical list of opcodes} | |
|
||
// On real hardware, the below does not happen, | ||
// this opcode only sets stack registers | ||
WHILE ($st3--) | ||
WHILE ($st3) | ||
DO | ||
EXECUTE_OPCODE($pc) | ||
WHILE($pc != $st2) | ||
$st3-- | ||
$pc = $st0 | ||
END | ||
$pc = addrA + 1 | ||
|
@@ -1702,10 +1704,11 @@ \section{Alphabetical list of opcodes} | |
// On real hardware, the below does not happen, | ||
// this opcode only sets stack registers | ||
WHILE ($st3--) | ||
WHILE ($st3) | ||
DO | ||
EXECUTE_OPCODE($pc) | ||
WHILE($pc != $st2) | ||
$st3-- | ||
$pc = $st0 | ||
END | ||
$pc = addrA + 1 | ||
|