Skip to content

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

Description

@howprice

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions