We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
Direct Page Register: Difference between revisions
From SnesLab
(what it holds; flowed everything in see also into body) |
(→References: section 2.6) |
||
Line 11: | Line 11: | ||
=== References === | === References === | ||
# page 5 of the official 65c816 datasheet: https://www.westerndesigncenter.com/wdc/documentation/w65c816s.pdf | # page 5 of the official 65c816 datasheet: https://www.westerndesigncenter.com/wdc/documentation/w65c816s.pdf | ||
# page 7, lbid. | # section 2.6 on page 7, lbid. | ||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Registers]] | [[Category:Registers]] | ||
[[Category:65c816 additions]] | [[Category:65c816 additions]] |
Revision as of 20:34, 10 August 2024
The Direct Page Register exists on the 65c816 and is 16 bits wide.[1] It holds current the location of the direct page.
The direct page register is cleared to point to the zero page on reset.[2]
Its value can be pushed to the stack with PHD and pulled off the stack with PLD.
It can be transferred to and from the full 16 bit accumulator with TCD and TDC.
References
- page 5 of the official 65c816 datasheet: https://www.westerndesigncenter.com/wdc/documentation/w65c816s.pdf
- section 2.6 on page 7, lbid.