def __init__(self, mem, origin=0, meta=None): self.mem = mem self.pc = memory.ProgramCounter(mem, origin) self._opcodes = x6502.get_instruction_set() if meta is None: meta = MetaSource() self.meta = meta
def test_instruction_set(self): # NOP instruction self.assertTrue(0xea in x6502.get_instruction_set())