We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
PLP: Difference between revisions
From SnesLab
(→External Links: de n'd page number) |
(linkify) |
||
Line 17: | Line 17: | ||
|+ | |+ | ||
| | | | ||
|N | |[[Negative Flag|N]] | ||
|V | |[[Overflow Flag|V]] | ||
|M | |[[M Flag|M]] | ||
|X / B | |[[X Flag|X]] / B | ||
|D | |[[Decimal Flag|D]] | ||
|I | |[[I Flag|I]] | ||
|Z | |[[Zero Flag|Z]] | ||
|C | |[[Carry Flag|C]] | ||
|+ | |+ | ||
|[[65c816 native mode]] | |[[65c816 native mode]] |
Revision as of 23:49, 21 July 2024
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Addressing Mode | Opcode | Length | Speed | ||||
Stack (Pull) | 28 | 1 byte | 4 cycles |
Flags Affected | ||||||||
---|---|---|---|---|---|---|---|---|
N | V | M | X / B | D | I | Z | C | |
65c816 native mode | ||||||||
6502 emulation mode | . |
PLP (PulL status flags) is a 65x instruction that pulls the 8-bit value at the top of the stack into the status register. The stack pointer is incremented before the byte is pulled.
Syntax
PLP
See Also
External Links
- Eyes & Lichty page 486, on PLP: https://archive.org/details/0893037893ProgrammingThe65816/page/486
- Labiak page 170 on PLP: https://archive.org/details/Programming_the_65816/page/n180
- MCS6500 Manual page 123 on PLP: https://archive.org/details/mos_microcomputers_programming_manual/page/n142
- Carr page 268 on PLP: https://archive.org/details/6502UsersManual/page/n281
- Leventhal page 3-84 on PLP: https://archive.org/details/6502-assembly-language-programming/page/n133
- snes9x implementation of PLP: https://github.com/snes9xgit/snes9x/blob/master/cpuops.cpp#L2099