We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
SLEEP (SPC700): Difference between revisions
From SnesLab
(no flags affected) |
(→References: added anomie link) |
||
Line 53: | Line 53: | ||
# https://problemkaputt.de/fullsnes.htm#snesapuspc700cpujumpcontrolcommands | # https://problemkaputt.de/fullsnes.htm#snesapuspc700cpujumpcontrolcommands | ||
# [https://archive.org/details/SNESDevManual/book1/page/n226 Appendix C-1] | # [https://archive.org/details/SNESDevManual/book1/page/n226 Appendix C-1] | ||
# anomie: https://github.com/yupferris/TasmShiz/blob/master/spc700.txt#L584 | |||
[[Category:ASM]] | [[Category:ASM]] |
Revision as of 21:37, 13 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Implied (type 3) | EF | 1 byte | 3 cycles |
Flags Affected | |||||||
---|---|---|---|---|---|---|---|
N | V | P | B | H | I | Z | C |
. | . | . | . | . | . | . | . |
SLEEP is an SPC700 standby instruction. It hangs the S-SMP until reset.[2] Nintendo does not want you to use this instruction.[3]
No flags are affected.
Syntax
SLEEP
See Also
References
- Official Super Nintendo development manual on SLEEP: Table C-20 in Appendix C-10 of Book I
- https://problemkaputt.de/fullsnes.htm#snesapuspc700cpujumpcontrolcommands
- Appendix C-1
- anomie: https://github.com/yupferris/TasmShiz/blob/master/spc700.txt#L584