mirror of
https://github.com/lloeki/python-dcpu_16.git
synced 2025-12-06 09:54:39 +01:00
a little doc
This commit is contained in:
parent
2fff97dd64
commit
037559160f
1 changed files with 1 additions and 0 deletions
|
|
@ -410,6 +410,7 @@ class CPU(object):
|
|||
if c.debug: log(c.dump_r())
|
||||
|
||||
def run(c):
|
||||
"""step until PC is constant"""
|
||||
last_pc = 0xFFFF
|
||||
while c.pc != last_pc:
|
||||
last_pc = c.pc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue