Example #1
0
 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
Example #2
0
 def test_instruction_set(self):
     # NOP instruction
     self.assertTrue(0xea in x6502.get_instruction_set())