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
(type 3 admode) |
(→See Also: STOP) |
||
Line 42: | Line 42: | ||
=== See Also === | === See Also === | ||
* [[WAI]] | * [[WAI]] | ||
* [[STOP]] | |||
=== External Links === | === External Links === |
Revision as of 01:04, 19 July 2023
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
implied (type 3) | DB | 1 byte | 3 cycles |
Flags Clobbered | |||||||
---|---|---|---|---|---|---|---|
N | V | M | X | D | I | Z | C |
. | . | . | . | . | . | . | . |
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.
See Also
External Links
- Eyes & Lichty page on STP: https://archive.org/details/0893037893ProgrammingThe65816/page/n530
- Labiak page on STP: https://archive.org/details/Programming_the_65816/page/n195
- snes9x implementation of STP: https://github.com/snes9xgit/snes9x/blob/master/cpuops.cpp#L3328
- undisbeliever on STP: https://undisbeliever.net/snesdev/65816-opcodes.html#stp-stop-the-processor
References
- 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