We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

Processor Status Register: Difference between revisions

From SnesLab
Jump to: navigation, search
(→‎Reference: Table 18.2)
Line 20: Line 20:


=== Reference ===
=== Reference ===
* [[Eyes & Lichty]], page 422: https://archive.org/details/0893037893ProgrammingThe65816/page/n448
* Table 18.2 [[Eyes & Lichty]], page 422: https://archive.org/details/0893037893ProgrammingThe65816/page/n448
* Lbid, page 377: https://archive.org/details/0893037893ProgrammingThe65816/page/n403
* Lbid, page 377: https://archive.org/details/0893037893ProgrammingThe65816/page/n403


[[Category:Registers]]
[[Category:Registers]]
[[Category:Flags]]
[[Category:Flags]]

Revision as of 17:17, 14 December 2023

The Processor Status Register (P) is on the 65c816 and contains several flags:

  • n
  • v
  • m
  • x
  • d
  • i
  • z
  • c

It can be pulled from the stack via PLP and RTI.

See Also

Reference