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

bugfix for the bit opcode #68

Merged
merged 1 commit into from
Apr 15, 2023
Merged

bugfix for the bit opcode #68

merged 1 commit into from
Apr 15, 2023

Conversation

omarandlorraine
Copy link
Collaborator

The bit opcode computes accumulator AND operand, and updates the Z flag. And it copies bits 6 and 7 from the operand into the flags register.

But what this was doing is copy bits 6 and 7 from the AND instead of directly from the operand.

This bug was discovered by solid65.

@mre
Copy link
Owner

mre commented Apr 15, 2023

solid65 strikes again. Amazing. 😍

@omarandlorraine omarandlorraine merged commit 6232b3b into master Apr 15, 2023
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

Successfully merging this pull request may close these issues.

2 participants