forked from dolphin-emu/dolphin
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dolphin-emu#11106 from vpelletier/dsp_doc_bloop
docs/DSP: Trivial adjustment to BLOOP{,I} sub-operation order
- Loading branch information
Showing
3 changed files
with
38 additions
and
14 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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
; This test checks when $st3 gets decremented during BLOOP{,I} iterations. | ||
; Expected $st3 values are: 2, 1, 0x0b88, 2, 1, 0x0b88. | ||
|
||
incdir "tests" | ||
include "dsp_base.inc" | ||
|
||
test_main: | ||
LRI $ac0.l, #2 | ||
BLOOP $ac0.l, last_of_bloop | ||
CALL send_back | ||
NOP | ||
NOP | ||
last_of_bloop: | ||
NOP | ||
CALL send_back | ||
|
||
BLOOPI #2, last_of_bloopi | ||
CALL send_back | ||
NOP | ||
NOP | ||
last_of_bloopi: | ||
NOP | ||
CALL send_back | ||
|
||
JMP end_of_test |
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