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

Incorrect data for ASL.b tests 1583 and 1761 #4

Open
howprice opened this issue Aug 11, 2024 · 0 comments
Open

Incorrect data for ASL.b tests 1583 and 1761 #4

howprice opened this issue Aug 11, 2024 · 0 comments

Comments

@howprice
Copy link

I belive the test data is incorrect for two tests:

  1. e502 [ASL.b Q, D2] 1583
  2. e502 [ASL.b Q, D2] 1761

Both tests shift D2 by 2 bits

For e502 [ASL.b Q, D2] 1583, initial D2=CDFB7FBE, final D2=2E5E4304. This is obviouly incorrect because the operation should only affect the least significant byte of the register. I believe that the correct final D2 should be CDFB7FF8, with final CCR values adjusted accordingly: SR=270A, X=0, N=1, C=0

Similarly for e502 [ASL.b Q, D2] 1761, initial D2=417C7E7D, final D2=6461D390. Again, the upper 3 bytes should not have changed. I believe that the correct final D2=417C7EF4 (CCR values actually OK in this case)

After finding these bugs in my test application, I discovered they had previously been reported on the Reddit "ANNOUNCE: 68000 test cases" thread.

These are the only two problems I have found in the test data so far, and 90/125 in place so far. Amazing resource thanks!

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