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
Jump to: navigation, search
m (Jeffythedragonslayer moved page direct page flag to Direct Page Flag: capitalization)
(linkify direct page)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''direct page flag''' exists on the [[SPC700]], as bit 5 of the [[Program Status Word]].
The '''direct page flag''' (P) exists on the [[S-SMP]], as bit 5 of the [[Program Status Word]].


When clear, the direct page is the zeropage (located at 0000h to 00FFh).
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).
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]].
The direct page flag is set by [[SETP]] and cleared by [[CLRP]].
=== Reference ===
* [https://archive.org/details/SNESDevManual/book1/page/n227 Appendix C-2 of Book I] of the official Super Nintendo development manual


[[Category:ASM]]
[[Category:ASM]]
[[Category:Flags]]
[[Category:Flags]]
[[Category:SPC700]]
[[Category:SPC700]]

Latest revision as of 11:31, 5 December 2023

The direct page flag (P) exists on the S-SMP, 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.

Reference