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 (SPC700): Difference between revisions

From SnesLab
Jump to: navigation, search
(added link to official dev manual)
(→‎References: hid archive URL)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''STOP''' is an [[SPC700]] standby instruction.
{| class="wikitable" style="float:right;clear:right;width:40%"
 
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Basic Info
!colspan="8"|Basic Info
|+
|+
Line 9: Line 7:
|'''Speed'''
|'''Speed'''
|+
|+
|implied
|[[Implied]] (type 3)
|FF
|FF
|1 byte
|1 byte
Line 16: Line 14:


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Flags Clobbered
!colspan="8"|Flags Affected
|+
|+
|N
|[[Negative Flag|N]]
|V
|[[Overflow Flag|V]]
|P
|[[Direct Page Flag|P]]
|B
|[[Break Flag|B]]
|H
|[[Half-Carry Flag|H]]
|I
|[[Interrupt Enable Flag|I]]
|Z
|[[Zero Flag|Z]]
|C
|[[Carry Flag|C]]
|+
|+
|.
|.
Line 36: Line 34:
|.
|.
|}
|}
'''STOP''' is an [[SPC700]] standby instruction.  It hangs the [[S-SMP]] until reset. <sup>[2]</sup>  Nintendo does not want you to use this instruction.<sup>[3]</sup>


=== See Also ===
=== See Also ===
* [[NOP (SPC700)]]
* [[NOP (SPC700)]]
* [[SLEEP]]
* [[SLEEP]]
* [[STP]]


=== External Links ===
=== References ===
* Official Super Nintendo development manual on STOP: [https://archive.org/details/SNESDevManual/book1/page/n235 Appendix C-10 of Book I]
# Official Super Nintendo development manual on STOP: Table C-20 in [https://archive.org/details/SNESDevManual/book1/page/n235 Appendix C-10 of Book I]
# https://problemkaputt.de/fullsnes.htm#snesapuspc700cpujumpcontrolcommands
# [https://archive.org/details/SNESDevManual/book1/page/n226 Appendix C-1]


[[Category:ASM]]
[[Category:ASM]]
[[Category:SPC700]]
[[Category:SPC700]]
[[Category:Other SPC700 Commands]]
[[Category:One-byte Instructions]]

Latest revision as of 09:16, 18 December 2023

Basic Info
Addressing Mode Opcode Length Speed
Implied (type 3) FF 1 byte 3 cycles
Flags Affected
N V P B H I Z C
. . . . . . . .

STOP is an SPC700 standby instruction. It hangs the S-SMP until reset. [2] Nintendo does not want you to use this instruction.[3]

See Also

References

  1. Official Super Nintendo development manual on STOP: Table C-20 in Appendix C-10 of Book I
  2. https://problemkaputt.de/fullsnes.htm#snesapuspc700cpujumpcontrolcommands
  3. Appendix C-1