Closed GonBDLH closed 1 year ago
Apologies, my mistake. I did have a correct 8D.json but I committed the wrong one. I will submit a PR to fix.
I've had some suggestions to leave in the reg,reg forms, but the way they work is they use the value of the last calculated effective address. The register set up program on the Arduino changes this in a way that your emulator can't really replicate; but it might be possible to set it up specifically, and then include the value of EA in the test initial state. Thoughts?
No worries. And btw, thank you very much for this tests, i had some bugs in my emulator that i wasn't able to fix before finding them.
I think including the value of the ea in the initial state is a good solution.
this issue can be closed as the pull request has been merged
According to the readme, the form of the LEA instruction "LEA r, r" should not appear in the tests because it is not defined. However, there are tests of this form, such as "LEA dx, dx".
e.g.: