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

PLY: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎External Links: Labiak page number)
(4 cycle Instructions)
 
(2 intermediate revisions by the same user not shown)
Line 35: Line 35:
|}
|}


'''PLY''' (PulL Y) is a 65x instruction that pulls the value at the top of the [[stack]] into the [[Y index register]].
'''PLY''' (PulL Y) is a 65x instruction that pulls the value at the top of the [[stack]] into the [[Y index register]].  PLY increments the [[stack pointer]] before the pull.


===== Cycle Penalty =====
===== Cycle Penalty =====
Line 52: Line 52:
[[Category:65c02 additions]]
[[Category:65c02 additions]]
[[Category:Pull Instructions]]
[[Category:Pull Instructions]]
[[Category:One-byte Instructions]]
[[Category:Four-cycle Instructions]]

Latest revision as of 12:30, 14 December 2023

Basic Info
Addressing Mode Opcode Length Speed
Stack (Pull) 7A 1 byte 4 cycles*
Flags Affected
N V M X D I Z C
. . . . . .

PLY (PulL Y) is a 65x instruction that pulls the value at the top of the stack into the Y index register. PLY increments the stack pointer before the pull.

Cycle Penalty
  • PLY takes one additional cycle if the index registers are 16 bits wide.

See Also

External Links