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 Pointer: Difference between revisions

From SnesLab
Jump to: navigation, search
(added ref)
(65c816 instructions that do not alter stack pointer)
Line 1: Line 1:
The '''Stack Pointer''' on the [[SPC700]] is 16-bit, but the upper byte is fixed by the hardware to be 0x01.
The '''Stack Pointer''' on the [[SPC700]] is 16-bit, but the upper byte is fixed by the hardware to be 0x01.
On the [[65c816]], the only two instructions that modify the stack pointer are [[TCS]] and [[TXS]].


=== Reference ===
=== Reference ===

Revision as of 23:53, 26 November 2023

The Stack Pointer on the SPC700 is 16-bit, but the upper byte is fixed by the hardware to be 0x01.

On the 65c816, the only two instructions that modify the stack pointer are TCS and TXS.

Reference