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

Stack: Difference between revisions

From SnesLab
Jump to: navigation, search
(push/pull lists)
(→‎Reference: Clark link)
Line 27: Line 27:
=== Reference ===
=== Reference ===
# https://wilsonminesco.com/816myths
# https://wilsonminesco.com/816myths
# Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.1.1


[[Category:ASM]]
[[Category:ASM]]
[[Category:Inherited from 6502]]
[[Category:Inherited from 6502]]

Revision as of 15:31, 22 July 2024

The Stack is a buffer which remembers the state of subroutines that are currently executing.

On the 65c816, the stack is always in bank zero.[1]

These instructions push things to the stack:

These instructions pull things from the stack:

See Also

Reference

  1. https://wilsonminesco.com/816myths
  2. Clark, Bruce. http://www.6502.org/tutorials/65c816opcodes.html#5.1.1