mnaberez / py65

Emulate 6502-based microcomputer systems in Python
BSD 3-Clause "New" or "Revised" License
234 stars 68 forks source link

Add tests for comparison instructions #52

Closed scotws closed 5 years ago

scotws commented 5 years ago

See #24 . These should be the variants of the comparisons, using Immediate mode for A. If I understand the code correctly, the actual instructions combine the mode such as self.ZeroPageAddr with the same self.opCMPR routine, so we should have all parts covered. If we want actual tests for all variants of the instructions, we can do that with cut and paste.

mnaberez commented 5 years ago

Looks great, thank you!