We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
STOP (Super FX): Difference between revisions
From SnesLab
(→External Links: more specific on which doc) |
(→External Links: bsnes imp) |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:right;clear:right;width: | {| class="wikitable" style="float:right;clear:right;width:50%" | ||
!colspan="8"|Basic Info | !colspan="8"|Basic Info | ||
|+ | |+ | ||
|'''Addressing Mode''' | |||
|'''Opcode''' | |'''Opcode''' | ||
|'''Length''' | |'''Length''' | ||
Line 8: | Line 9: | ||
|'''Cache Speed''' | |'''Cache Speed''' | ||
|+ | |+ | ||
|[[Implied]] (type 2) | |||
|00 | |00 | ||
|1 byte | |1 byte | ||
Line 16: | Line 18: | ||
{| class="wikitable" style="float:right;clear:right;width:30%" | {| class="wikitable" style="float:right;clear:right;width:30%" | ||
!colspan="9"|Flags | !colspan="9"|Flags Affected | ||
|+ | |+ | ||
|B | |[[B Flag|B]] | ||
|ALT1 | |[[ALT1]] | ||
|ALT2 | |[[ALT2]] | ||
|O/V | |[[O/V]] | ||
|S | |[[Sign Flag|S]] | ||
|CY | |[[CY]] | ||
|Z | |[[Zero Flag|Z]] | ||
|+ | |+ | ||
|0 | |0 | ||
Line 35: | Line 37: | ||
|} | |} | ||
'''STOP''' is a [[Super FX]] instruction that clears the [[Go flag]]. | '''STOP''' is a [[Super FX]] instruction that clears the [[Go flag]], stopping the processor. An [[IRQ]] is generated. | ||
The [[ALT0]] state is restored. | |||
==== Syntax ==== | |||
<pre> | |||
STOP | |||
</pre> | |||
=== See Also === | |||
* [[STP]] | |||
* [[STOP (SPC700)]] | |||
=== External Links === | === External Links === | ||
* Official Super Nintendo development manual on STOP: [https://archive.org/details/SNESDevManual/book2/page/n272 page 2-9-116 of Book II] | * Official Super Nintendo development manual on STOP: 9.84 on [https://archive.org/details/SNESDevManual/book2/page/n272 page 2-9-116 of Book II] | ||
* 6.8.4 GSU Exclusive Operation in Cache RAM on page 2-6-12 of Book II | |||
* bsnes implementation: https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/superfx/core.cpp#L1 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Super FX]] | [[Category:Super FX]] | ||
[[Category:GSU Control Instructions]] | [[Category:GSU Control Instructions]] | ||
[[Category:One-byte Instructions]] | |||
[[Category:Single Admode Mnemonics]] |
Latest revision as of 09:50, 22 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | ROM Speed | RAM Speed | Cache Speed | ||
Implied (type 2) | 00 | 1 byte | 3 cycles | 3 cycles | 1 cycle |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . | . | . |
STOP is a Super FX instruction that clears the Go flag, stopping the processor. An IRQ is generated.
The ALT0 state is restored.
Syntax
STOP
See Also
External Links
- Official Super Nintendo development manual on STOP: 9.84 on page 2-9-116 of Book II
- 6.8.4 GSU Exclusive Operation in Cache RAM on page 2-6-12 of Book II
- bsnes implementation: https://github.com/bsnes-emu/bsnes/blob/master/bsnes/sfc/coprocessor/superfx/core.cpp#L1