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
(STP existed on the 65c02)
(note about mis-expansion)
Line 1: Line 1:
'''STP''' (Stop the processor) is an instruction that halts the CPU, putting it into a low power state until it is reset.  The [[PHI2]] clock is held high.
'''STP''' (SToP-the-clock)[1] is an instruction that halts the CPU, putting it into a low power state until it is reset.  The [[PHI2]] clock is held high.


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
Line 39: Line 39:
[[Category: ASM]]
[[Category: ASM]]
[[Category:65c02 additions]]
[[Category:65c02 additions]]
=== 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

Revision as of 23:31, 7 May 2023

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

Basic Info
Addressing Mode Opcode Length Speed
implied DB 1 byte 3 cycles
Flags Clobbered
N V M X D I Z C
. . . . . . . .

References