diff --git a/lundump.py b/lundump.py index 79c094f..8826d11 100644 --- a/lundump.py +++ b/lundump.py @@ -80,7 +80,8 @@ class Instruction: self.C: int = None # 'RK's are special in because can be a register or a konstant. a bitflag is read to determine which - def __readRK(self, rk: int) -> str: + @staticmethod + def __readRK(rk: int) -> str: if (rk & (1 << 8)) > 0: return "K[" + str((rk & ~(1 << 8))) + "]" else: