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
(→Reference: diversified activities) |
(→Reference: hid archive URL) |
||
Line 10: | Line 10: | ||
=== Reference === | === Reference === | ||
* section 8.1.5 of [https://archive.org/details/SNESDevManual/book1/page/n182 page 3-8-4 of Book I] of the official Super Nintendo development manual | * section 8.1.5 of [https://archive.org/details/SNESDevManual/book1/page/n182 page 3-8-4 of Book I] of the official Super Nintendo development manual | ||
* diversified activities: https://archive.org/details/SNESDevManual/book1/page/n183 | * diversified activities: [https://archive.org/details/SNESDevManual/book1/page/n183 page 3-8-5 of Book I], lbid. | ||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Registers]] | [[Category:Registers]] | ||
[[Category:Inherited from 6502]] | [[Category:Inherited from 6502]] |
Revision as of 07:22, 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
- section 8.1.5 of page 3-8-4 of Book I of the official Super Nintendo development manual
- diversified activities: page 3-8-5 of Book I, lbid.