Skip to content

Status value pushed to the stack has bits 4&5 incorrect in some cases #21

@patchandthat

Description

@patchandthat
  • PHP
  • BRK
  • IRQ
  • NMI

Additionally PLP and RTI should ignore bits 4 & 5 when popping.

See https://wiki.nesdev.com/w/index.php/Status_flags#The_B_flag and https://forums.nesdev.com/viewtopic.php?f=3&t=11253

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions