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 Flag: Difference between revisions
From SnesLab
(single letter abbreviation) |
(link to official dev manual) |
||
Line 6: | Line 6: | ||
The direct page flag is set by [[SETP]] and cleared by [[CLRP]]. | The direct page flag is set by [[SETP]] and cleared by [[CLRP]]. | ||
=== Reference === | |||
* https://archive.org/details/SNESDevManual/book1/page/n227 | |||
[[Category:ASM]] | [[Category:ASM]] | ||
[[Category:Flags]] | [[Category:Flags]] | ||
[[Category:SPC700]] | [[Category:SPC700]] |
Revision as of 06:20, 12 July 2023
The direct page flag (P) exists on the SPC700, as bit 5 of the Program Status Word.
When clear, the direct page is the zeropage (located at 0000h to 00FFh).
When set, the direct page is page one (located at 0100h to 01FFh).
The direct page flag is set by SETP and cleared by CLRP.