Remove debug print statements from zcpu opcode dispatch
The exception that follows provides the context, so these prints are redundant.
This commit is contained in:
parent
e5329d6788
commit
eeb65e0cc2
1 changed files with 0 additions and 4 deletions
|
|
@ -62,8 +62,6 @@ class ZCpu:
|
||||||
except IndexError:
|
except IndexError:
|
||||||
opcode_decl = None
|
opcode_decl = None
|
||||||
if not opcode_decl:
|
if not opcode_decl:
|
||||||
cls, num = opcode_class, opcode_number
|
|
||||||
print(f"DEBUG: Illegal opcode class={cls} num={num}")
|
|
||||||
raise ZCpuIllegalInstruction
|
raise ZCpuIllegalInstruction
|
||||||
|
|
||||||
# If the opcode declaration is a sequence, we have extra
|
# If the opcode declaration is a sequence, we have extra
|
||||||
|
|
@ -84,8 +82,6 @@ class ZCpu:
|
||||||
elif opcode_decl[1] <= self._memory.version:
|
elif opcode_decl[1] <= self._memory.version:
|
||||||
opcode_func = opcode_decl[0]
|
opcode_func = opcode_decl[0]
|
||||||
else:
|
else:
|
||||||
cls, num = opcode_class, opcode_number
|
|
||||||
print(f"DEBUG: Illegal opcode class={cls} num={num}")
|
|
||||||
raise ZCpuIllegalInstruction
|
raise ZCpuIllegalInstruction
|
||||||
|
|
||||||
# The following is a hack, based on our policy of only
|
# The following is a hack, based on our policy of only
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue