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

ch5: incorrect value for skip operation #111

Open
fcabjolsky opened this issue May 28, 2023 · 0 comments
Open

ch5: incorrect value for skip operation #111

fcabjolsky opened this issue May 28, 2023 · 0 comments

Comments

@fcabjolsky
Copy link

fcabjolsky commented May 28, 2023

The operation 0x5000..=0x5FFF should compare two registers. Also the pattern match could be 0x5000..=0x5FF0 as the last byte is not used by this operation.

0x5000..=0x5FFF => { self.se(x, y); },

One possible solution:

0x5000..=0x5FF0 => { self.se(x, self.registers[y as usize]); },
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