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
(thousands deep) |
(wraps in emulation mode) |
||
Line 2: | Line 2: | ||
On the [[65c816]], the stack is always in [[bank]] zero. It can be thousands of bytes deep.<sup>[1]</sup> | On the [[65c816]], the stack is always in [[bank]] zero. It can be thousands of bytes deep.<sup>[1]</sup> | ||
In [[emulation mode]] it wraps within page one. | |||
These instructions push things to the stack: | These instructions push things to the stack: |
Revision as of 15:39, 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. It can be thousands of bytes deep.[1]
In emulation mode it wraps within page one.
These instructions push things to the stack:
These instructions pull things from the stack: