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

DIV behavior incorrect - EX #17

Open
gatesphere opened this issue Apr 27, 2012 · 0 comments
Open

DIV behavior incorrect - EX #17

gatesphere opened this issue Apr 27, 2012 · 0 comments

Comments

@gatesphere
Copy link

The behavior of the EX register when performing a DIV is incorrect. EX should be set to ((b<<16)/a) & 0xffff as per the spec, rather than (b/a) << 16 & 0xffff, which will always be zero in 16 bit division.

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