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
(implied admode) |
(→External Links: bsnes imp) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|'''Cache Speed''' | |'''Cache Speed''' | ||
|+ | |+ | ||
|[[Implied]] | |[[Implied]] (type 2) | ||
|00 | |00 | ||
|1 byte | |1 byte | ||
Line 26: | Line 26: | ||
|[[Sign Flag|S]] | |[[Sign Flag|S]] | ||
|[[CY]] | |[[CY]] | ||
|Z | |[[Zero Flag|Z]] | ||
|+ | |+ | ||
|0 | |0 | ||
Line 38: | Line 38: | ||
'''STOP''' is a [[Super FX]] instruction that clears the [[Go flag]], stopping the processor. An [[IRQ]] is generated. | '''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 === | === See Also === | ||
Line 45: | Line 52: | ||
=== External Links === | === External Links === | ||
* 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] | * 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]] | ||
Line 50: | Line 59: | ||
[[Category:GSU Control Instructions]] | [[Category:GSU Control Instructions]] | ||
[[Category:One-byte 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