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
(shorten description)
(added image)
 
Line 5: Line 5:


The direct page flag is set by [[SETP]] and cleared by [[CLRP]].
The direct page flag is set by [[SETP]] and cleared by [[CLRP]].
[[File:spc700 dp.png|thumb]]


=== Reference ===
=== Reference ===

Latest revision as of 21:53, 14 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.

spc700 dp.png

Reference