We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

STP: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎See Also: reset traces)
(what things can reset)
Line 38: Line 38:


No flags are affected.
No flags are affected.
Recall that the cartridge and [[expansion port]] can both reset the [[control deck]].


==== Syntax ====
==== Syntax ====

Revision as of 10:22, 25 July 2024

Basic Info
Addressing Mode Opcode Length Speed
Implied (type 3) DB 1 byte 3 cycles
Flags Affected
N V M X D I Z C
. . . . . . . .

STP (SToP-the-clock)[1] is an instruction that halts the 65c816, putting it into a low power state until it is reset. The PHI2 clock is held high.

No flags are affected.

Recall that the cartridge and expansion port can both reset the control deck.

Syntax

STP

Eyes & Lichty (at the bottom of page 504) claims that STP was first introduced on the 65802/816, but it is on the 65c02 datasheet.

See Also

External Links

References

  1. Although "Stop The Processor" fits, all the letters in this mnemonic are from the word "stop." See row 58 of Table 5-1, "Instruction Set Table" on Page 21 of the official 65c02 datasheet: https://www.westerndesigncenter.com/wdc/documentation/w65c02s.pdf