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

From SnesLab
(Redirected from direct register)
Jump to: navigation, search

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]

dp.png

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

  1. page 5 of the official 65c816 datasheet: https://www.westerndesigncenter.com/wdc/documentation/w65c816s.pdf
  2. section 2.6 on page 7, lbid.
  3. Eyes & Lichty, page 53