Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
patchandthat opened this issue May 7, 2019 · 0 comments

Comments

@patchandthat
Copy link
Owner

patchandthat commented May 7, 2019

  • 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

@patchandthat patchandthat changed the title Value pushed to the stack has bits 4&5 incorrect in some cases Status value pushed to the stack has bits 4&5 incorrect in some cases May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant