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
(other instructions affect the stack pointer as a side effect)
(see also push/pop/ret)
Line 2: Line 2:


On the [[65c816]], the only two instructions that modify the stack pointer directly are [[TCS]] and [[TXS]].
On the [[65c816]], the only two instructions that modify the stack pointer directly are [[TCS]] and [[TXS]].
=== See Also ===
* [[PUSH]]
* [[POP]]
* [[RET]]


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

Revision as of 05:38, 20 December 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 directly are TCS and TXS.

See Also

Reference