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

Shouldn't the "no carry" flag be set to 1 if the difference is 0? Here it's being set to 0 if the difference is 0. #4

Open
ariveron opened this issue May 8, 2021 · 0 comments

Comments

@ariveron
Copy link

ariveron commented May 8, 2021

chip8/chip8.c

Line 251 in aebb1ae

V[0xF] = (V[x] > V[y]) ? 1 : 0;

@ariveron ariveron changed the title Shouldn the "no carry" flag b Shouldn't the "no carry" flag be set to 1 if the difference is 0? Here it's being set to 0 if the different is 0. May 8, 2021
@ariveron ariveron changed the title Shouldn't the "no carry" flag be set to 1 if the difference is 0? Here it's being set to 0 if the different is 0. Shouldn't the "no carry" flag be set to 1 if the difference is 0? Here it's being set to 0 if the difference is 0. May 8, 2021
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