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
Jump to: navigation, search
(→‎References: Table C-20)
(linkify flags)
Line 16: Line 16:
!colspan="8"|Flags Clobbered
!colspan="8"|Flags Clobbered
|+
|+
|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]]
|+
|+
|.
|.

Revision as of 04:40, 27 November 2023

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

SLEEP is an SPC700 standby instruction. It hangs the S-SMP until reset.[2]

See Also

References

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