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
(no flags affected)
(EI/DI no effect)
 
(2 intermediate revisions by the same user not shown)
Line 36: Line 36:


'''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>
'''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>
[[EI]] and [[DI]] have no effect on the behavior of STOP.


No flags are affected.
No flags are affected.
Line 43: Line 45:
STOP
STOP
</pre>
</pre>
Perhaps STOP would have been more useful if the APU supported hardware interrupts.


=== See Also ===
=== See Also ===
Line 53: Line 57:
# https://problemkaputt.de/fullsnes.htm#snesapuspc700cpujumpcontrolcommands
# https://problemkaputt.de/fullsnes.htm#snesapuspc700cpujumpcontrolcommands
# Summary of SPC700 Commands, [https://archive.org/details/SNESDevManual/book1/page/n226 Appendix C-1]
# Summary of SPC700 Commands, [https://archive.org/details/SNESDevManual/book1/page/n226 Appendix C-1]
# anomie: https://github.com/yupferris/TasmShiz/blob/8fabc9764c33a7ae2520a76d80ed7220bb939f12/spc700.txt#L585


[[Category:ASM]]
[[Category:ASM]]

Latest revision as of 06:03, 22 July 2024

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]

EI and DI have no effect on the behavior of STOP.

No flags are affected.

Syntax

STOP

Perhaps STOP would have been more useful if the APU supported hardware interrupts.

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. Summary of SPC700 Commands, Appendix C-1
  4. anomie: https://github.com/yupferris/TasmShiz/blob/8fabc9764c33a7ae2520a76d80ed7220bb939f12/spc700.txt#L585