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
(capitalize)
(shorten description)
Line 1: Line 1:
The '''Direct Page Flag''' (P) exists on the [[S-SMP]], as bit 5 of the [[Program Status Word]].
The '''Direct Page Flag''' (P) is bit 5 of the [[S-SMP]]'s [[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]].

Revision as of 17:31, 11 August 2024

The Direct Page Flag (P) is bit 5 of the S-SMP's 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