NEG instruction is failing in the Z80DOC tester with an invalid CRC check
spjewkes opened this issue · comments
spjewkes commented
spjewkes commented
Possible issue spotted in my implementation. Very similar to DAA in that we're not doing the arithmetic via StorageElement and so I suspect that the HALF flag is broken. Unfortunately re-running Z80DOC doesn't help as the following test in an unimplemented instruction and the display doesn't get updated before the failure.
spjewkes commented
Yes, it was the HALF flag that was the issue. This can now be closed.