We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
LOOP (Super FX): Difference between revisions
From SnesLab
(linkify B) |
(→External Links: paragraph number) |
||
Line 40: | Line 40: | ||
=== External Links === | === External Links === | ||
* Official Nintendo documentation on LOOP: [https://archive.org/details/SNESDevManual/book2/page/n233 | * Official Nintendo documentation on LOOP: paragraph 9.54 on [https://archive.org/details/SNESDevManual/book2/page/n233 page 2-9-77 of Book II] | ||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Super FX]] | [[Category:Super FX]] | ||
[[Category:One-byte Instructions]] | [[Category:One-byte Instructions]] |
Revision as of 03:38, 1 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | Length | ROM Speed | RAM Speed | Cache Speed | |||
3C | 1 byte | 3 cycles | 3 cycles | 1 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . |
LOOP is a Super FX instruction that decrements R12. If the zero flag is set afterwards, R15 is incremented. Otherwise, R13 is stored to R15.
The next instruction after LOOP is already loaded into the pipeline.
External Links
- Official Nintendo documentation on LOOP: paragraph 9.54 on page 2-9-77 of Book II