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
(65c816 instructions that do not alter stack pointer) |
(categories) |
||
Line 7: | Line 7: | ||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Registers]] | |||
[[Category:Inherited from 6502]] |
Revision as of 07:45, 4 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 are TCS and TXS.
Reference
- page 3-8-4 of Book I of the official Super Nintendo development manual