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
Jump to: navigation, search
(→‎External Links: Clark link)
(emu bit not on stack)
Line 48: Line 48:


'''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.
'''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.
The [[emulation mode]] bit is not on the stack so it does not get pulled.


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

Revision as of 16:37, 24 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.

The emulation mode bit is not on the stack so it does not get pulled.

Syntax

PLP

See Also

External Links