a little doc

This commit is contained in:
Loic Nageleisen 2012-04-09 11:48:36 +02:00
parent 2fff97dd64
commit 037559160f

View file

@ -410,6 +410,7 @@ class CPU(object):
if c.debug: log(c.dump_r()) if c.debug: log(c.dump_r())
def run(c): def run(c):
"""step until PC is constant"""
last_pc = 0xFFFF last_pc = 0xFFFF
while c.pc != last_pc: while c.pc != last_pc:
last_pc = c.pc last_pc = c.pc