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

PSW register not displaying correct content. #45

Open
dawarhusain opened this issue Mar 24, 2020 · 0 comments
Open

PSW register not displaying correct content. #45

dawarhusain opened this issue Mar 24, 2020 · 0 comments

Comments

@dawarhusain
Copy link

The PSW register is not displaying its actual content in sidebar and always showing 0. When pushing the PSW register to stack, we can see the higher byte shows Accumulator and lower byte shows Flag Register. But in the sidebar it always shows zero.

Further there is an issue with the overflow bit in flag register (second least significant bit). It is always set. This bit should only be set when result of addition/ subtraction comes opposite of what is expected arithmetically. The overflow flag is an unspecified flag.

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