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

access to uninitialized status bits #9

Open
wattyka opened this issue Feb 19, 2020 · 1 comment
Open

access to uninitialized status bits #9

wattyka opened this issue Feb 19, 2020 · 1 comment

Comments

@wattyka
Copy link

wattyka commented Feb 19, 2020

The "status" member has uninitialized bits. When I noticed that a static instance of mos6502 would work as expected but one on the stack or heap would show subtle differences in program execution (static data=bss), it pointed me to the bug.

Otherwise, this is a very nice and efficient piece of code. Using it for my second project. I love it!

@gianlucag
Copy link
Owner

hello, thanks for raising the issue. Would you like to make a pull req with the fix?

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

2 participants