diff --git a/infernal.py b/infernal.py index 8777788..f4d5afe 100644 --- a/infernal.py +++ b/infernal.py @@ -2,6 +2,8 @@ import re import sys +from opcodes import OPCODES + REGISTERS=["%rax", "%rbx", "%rcx", "%rdx", "%rsp", "%rbp", "%rsi", "%rdi", "%r8", "%r9", "%r10", "%r11", "%r12", "%r13", "%r14", "%r15"] REG_STATUS_TO_COLOR = { @@ -127,6 +129,7 @@ class Emulator: self.status["g"] = val1>val2 self.status["l"] = val1